Skip to content
Snippets Groups Projects
Commit a33cc443 authored by Andrews Sobral's avatar Andrews Sobral
Browse files

Fixed extra qualification error

parent ad1c3006
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ if (POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
#set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake-modules)
# compilation mode setup
......
......@@ -88,13 +88,13 @@ namespace bgslibrary
class BGS_Factory
{
public:
static BGS_Factory* BGS_Factory::Instance()
static BGS_Factory* Instance()
{
static BGS_Factory factory;
return &factory;
}
std::shared_ptr<IBGS> BGS_Factory::Create(std::string name)
std::shared_ptr<IBGS> Create(std::string name)
{
IBGS* instance = nullptr;
......@@ -110,7 +110,7 @@ namespace bgslibrary
return nullptr;
}
std::vector<std::string> BGS_Factory::GetRegisteredAlgorithmsName()
std::vector<std::string> GetRegisteredAlgorithmsName()
{
std::vector<std::string> algorithmsName;
for (auto it = factoryFunctionRegistry.begin(); it != factoryFunctionRegistry.end(); ++it) {
......@@ -119,7 +119,7 @@ namespace bgslibrary
return algorithmsName;
}
void BGS_Factory::RegisterFactoryFunction(std::string name,
void RegisterFactoryFunction(std::string name,
std::function<IBGS*(void)> classFactoryFunction)
{
// register the class factory function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment