Skip to content

Commit 563ef2b

Browse files
committed
make linters happy
Signed-off-by: ahcorde <ahcorde@gmail.com>
1 parent 97a4313 commit 563ef2b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/class_loader/class_loader.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ class ClassLoader : public std::enable_shared_from_this<ClassLoader>
132132
std::bind(&ClassLoader::onPluginDeletion<Base>, shared_from_this(), std::placeholders::_1)
133133
);
134134
} 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 "
136137
"This class must be used with smart pointer");
137138
return std::shared_ptr<Base>(
138139
createRawInstance<Base>(derived_class_name, true),
@@ -164,7 +165,8 @@ class ClassLoader : public std::enable_shared_from_this<ClassLoader>
164165
std::bind(&ClassLoader::onPluginDeletion<Base>, shared_from_this(), std::placeholders::_1)
165166
);
166167
} 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 "
168170
"This class must be used with smart pointer");
169171
return std::unique_ptr<Base, DeleterType<Base>>(
170172
raw,

0 commit comments

Comments
 (0)