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>
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,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments