mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 01:15:40 +00:00
Adds std namespace to shared_ptr usages in scriptinterface and simulation.
This was SVN commit r25528.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user