Cast to avoid recursion std::string

This commit is contained in:
jfmcarreira committed 2021-12-18 23:44:54 +00:00
1 parent 496bb54450
commit c24ddcdc59
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ void CalypModulesFactory::Register( const std::string& moduleName, std::function
void CalypModulesFactory::Register( const char* moduleName, std::function<CalypModulePtr( void )> pfnCreate )
{
Register( moduleName, pfnCreate );
Register( std::string{ moduleName }, pfnCreate );
}
bool CalypModulesFactory::RegisterDl( const char* dlName )