Adds std namespace to shared_ptr usages in scriptinterface and simulation.

This was SVN commit r25528.
This commit is contained in:
vladislavbelov
2021-05-22 19:30:18 +00:00
parent d9d19543b5
commit b927f163d6
13 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ public:
* @param debugName Name of this interface for CScriptStats purposes.
* @param context ScriptContext to use when initializing this interface.
*/
ScriptInterface(const char* nativeScopeName, const char* debugName, const shared_ptr<ScriptContext>& context);
ScriptInterface(const char* nativeScopeName, const char* debugName, const std::shared_ptr<ScriptContext>& context);
~ScriptInterface();
@@ -128,7 +128,7 @@ public:
* ScriptInterface::Request and use the context from that.
*/
JSContext* GetGeneralJSContext() const;
shared_ptr<ScriptContext> GetContext() const;
std::shared_ptr<ScriptContext> GetContext() const;
/**
* Load global scripts that most script interfaces need,