diff --git a/lib/base/scriptvariable.cpp b/lib/base/scriptvariable.cpp index 7e8a50d07..1904cfe4e 100644 --- a/lib/base/scriptvariable.cpp +++ b/lib/base/scriptvariable.cpp @@ -80,3 +80,8 @@ ScriptVariable::Ptr ScriptVariable::Set(const String& name, const Value& value, return sv; } +ScriptVariableRegistry *ScriptVariableRegistry::GetInstance(void) +{ + return Singleton::GetInstance(); +} + diff --git a/lib/base/scriptvariable.h b/lib/base/scriptvariable.h index dd46f199a..a272df023 100644 --- a/lib/base/scriptvariable.h +++ b/lib/base/scriptvariable.h @@ -59,10 +59,7 @@ private: class I2_BASE_API ScriptVariableRegistry : public Registry { public: - static inline ScriptVariableRegistry *GetInstance(void) - { - return Singleton::GetInstance(); - } + static ScriptVariableRegistry *GetInstance(void); }; }