diff options
Diffstat (limited to 'hscript/script.hh')
-rw-r--r-- | hscript/script.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hscript/script.hh b/hscript/script.hh index feee23b..98f79af 100644 --- a/hscript/script.hh +++ b/hscript/script.hh @@ -12,11 +12,10 @@ #include <string> #include <vector> +#include <memory> namespace Horizon { -struct ScriptPrivate; - /*! Defines the Script class, which represents a HorizonScript. */ class Script { public: @@ -34,8 +33,9 @@ public: std::vector<std::string> scriptErrors(); private: + struct ScriptPrivate; /*! Internal data. */ - ScriptPrivate *internal; + const std::unique_ptr<ScriptPrivate> internal; }; } |