Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
camtron
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kr69sugu
camtron
Commits
a33cc443
Commit
a33cc443
authored
6 years ago
by
Andrews Sobral
Browse files
Options
Downloads
Patches
Plain Diff
Fixed extra qualification error
parent
ad1c3006
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
package_bgs/IBGS.h
+4
-4
4 additions, 4 deletions
package_bgs/IBGS.h
with
5 additions
and
5 deletions
CMakeLists.txt
+
1
−
1
View file @
a33cc443
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
package_bgs/IBGS.h
+
4
−
4
View file @
a33cc443
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment