diff options
Diffstat (limited to 'fxjs/cfxjse_runtimedata.cpp')
-rw-r--r-- | fxjs/cfxjse_runtimedata.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fxjs/cfxjse_runtimedata.cpp b/fxjs/cfxjse_runtimedata.cpp index 540bcb084e..9db172dacd 100644 --- a/fxjs/cfxjse_runtimedata.cpp +++ b/fxjs/cfxjse_runtimedata.cpp @@ -11,15 +11,13 @@ #include "fxjs/cfxjs_engine.h" #include "fxjs/cfxjse_isolatetracker.h" -CFXJSE_RuntimeData::CFXJSE_RuntimeData(v8::Isolate* pIsolate) - : m_pIsolate(pIsolate) {} +CFXJSE_RuntimeData::CFXJSE_RuntimeData() = default; -CFXJSE_RuntimeData::~CFXJSE_RuntimeData() {} +CFXJSE_RuntimeData::~CFXJSE_RuntimeData() = default; std::unique_ptr<CFXJSE_RuntimeData> CFXJSE_RuntimeData::Create( v8::Isolate* pIsolate) { - std::unique_ptr<CFXJSE_RuntimeData> pRuntimeData( - new CFXJSE_RuntimeData(pIsolate)); + std::unique_ptr<CFXJSE_RuntimeData> pRuntimeData(new CFXJSE_RuntimeData()); CFXJSE_ScopeUtil_IsolateHandle scope(pIsolate); v8::Local<v8::FunctionTemplate> hFuncTemplate = |