History

convert script engine variables from QSharedPointer to std::shared_ptr

Heather Anderson committed 5 years ago

Commit 70fbe761 parent 82535ca49 files · +194 −164Browse files

Showing the changes to libraries/script-engine/src/AbstractScriptingServicesInterface.h (1 of 49 files). Show all

Unified · Split

libraries/script-engine/src/AbstractScriptingServicesInterface.h+2−2
@@ -15,10 +15,10 @@ · 14 unmodified lines
1515 #ifndef hifi_AbstractScriptingServicesInterface_h
1616 #define hifi_AbstractScriptingServicesInterface_h
1717
18−#include <QtCore/QSharedPointer>
18+#include <memory>
1919
2020 class ScriptManager;
21−using ScriptManagerPointer = QSharedPointer<ScriptManager>;
21+using ScriptManagerPointer = std::shared_ptr<ScriptManager>;
2222
2323 /// Interface provided by Application to other objects that need access to scripting services of the application
2424 class AbstractScriptingServicesInterface {