Showing the changes to libraries/script-engine/src/ScriptContext.h (1 of 49 files). Show all
Unified · Split
| @@ -15,7 +15,8 @@ · 14 unmodified lines | ||
| 15 | 15 | #ifndef hifi_ScriptContext_h |
| 16 | 16 | #define hifi_ScriptContext_h |
| 17 | 17 | |
| 18 | −#include <QtCore/QSharedPointer> | |
| 18 | +#include <memory> | |
| 19 | + | |
| 19 | 20 | #include <QtCore/QString> |
| 20 | 21 | #include <QtCore/QStringList> |
| 21 | 22 | |
| @@ -24,9 +25,9 @@ · 2 unmodified lines | ||
| 24 | 25 | class ScriptContext; |
| 25 | 26 | class ScriptEngine; |
| 26 | 27 | class ScriptFunctionContext; |
| 27 | −using ScriptContextPointer = QSharedPointer<ScriptContext>; | |
| 28 | −using ScriptFunctionContextPointer = QSharedPointer<ScriptFunctionContext>; | |
| 29 | −using ScriptEnginePointer = QSharedPointer<ScriptEngine>; | |
| 28 | +using ScriptContextPointer = std::shared_ptr<ScriptContext>; | |
| 29 | +using ScriptFunctionContextPointer = std::shared_ptr<ScriptFunctionContext>; | |
| 30 | +using ScriptEnginePointer = std::shared_ptr<ScriptEngine>; | |
| 30 | 31 | |
| 31 | 32 | /// [ScriptInterface] Provides an engine-independent interface for QScriptContextInfo |
| 32 | 33 | class ScriptFunctionContext { |