File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,8 @@ class ClassLoader : public std::enable_shared_from_this<ClassLoader>
132
132
std::bind (&ClassLoader::onPluginDeletion<Base>, shared_from_this (), std::placeholders::_1)
133
133
);
134
134
} catch (std::bad_weak_ptr & e) { // This is not a shared_ptr
135
- CONSOLE_BRIDGE_logWarn (" class_loader::ClassLoader::createUniqueInstance "
135
+ CONSOLE_BRIDGE_logWarn (
136
+ " class_loader::ClassLoader::createUniqueInstance "
136
137
" This class must be used with smart pointer" );
137
138
return std::shared_ptr<Base>(
138
139
createRawInstance<Base>(derived_class_name, true ),
@@ -164,7 +165,8 @@ class ClassLoader : public std::enable_shared_from_this<ClassLoader>
164
165
std::bind (&ClassLoader::onPluginDeletion<Base>, shared_from_this (), std::placeholders::_1)
165
166
);
166
167
} catch (std::bad_weak_ptr & e) { // This is not a shared_ptr
167
- CONSOLE_BRIDGE_logWarn (" class_loader::ClassLoader::createUniqueInstance "
168
+ CONSOLE_BRIDGE_logWarn (
169
+ " class_loader::ClassLoader::createUniqueInstance "
168
170
" This class must be used with smart pointer" );
169
171
return std::unique_ptr<Base, DeleterType<Base>>(
170
172
raw,
You can’t perform that action at this time.
0 commit comments