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
15#ifndef hifi_AbstractScriptingServicesInterface_h15#ifndef hifi_AbstractScriptingServicesInterface_h
16#define hifi_AbstractScriptingServicesInterface_h16#define hifi_AbstractScriptingServicesInterface_h
17 17
18#include <QtCore/QSharedPointer>18#include <memory>
19 19
20class ScriptManager;20class ScriptManager;
21using ScriptManagerPointer = QSharedPointer<ScriptManager>;21using ScriptManagerPointer = std::shared_ptr<ScriptManager>;
22 22
23/// Interface provided by Application to other objects that need access to scripting services of the application23/// Interface provided by Application to other objects that need access to scripting services of the application
24class AbstractScriptingServicesInterface {24class AbstractScriptingServicesInterface {