Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
a124bc6b
Commit
a124bc6b
authored
5 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
LandmarkBase const qualifier changes
parent
82a774b5
No related branches found
No related tags found
1 merge request
!301
Resolve "Work on const / non-const in wolf base classes"
Pipeline
#4040
passed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/landmark/landmark_base.h
+2
-2
2 additions, 2 deletions
include/core/landmark/landmark_base.h
with
2 additions
and
2 deletions
include/core/landmark/landmark_base.h
+
2
−
2
View file @
a124bc6b
...
...
@@ -90,7 +90,7 @@ class LandmarkBase : public NodeBase, public std::enable_shared_from_this<Landma
unsigned
int
getHits
()
const
;
const
FactorBasePtrList
&
getConstrainedByList
()
const
;
MapBasePtr
getMap
();
MapBasePtr
getMap
()
const
;
void
link
(
MapBasePtr
);
template
<
typename
classType
,
typename
...
T
>
static
std
::
shared_ptr
<
LandmarkBase
>
emplace
(
MapBasePtr
_map_ptr
,
T
&&
...
all
);
...
...
@@ -124,7 +124,7 @@ std::shared_ptr<LandmarkBase> LandmarkBase::emplace(MapBasePtr _map_ptr, T&&...
return
lmk
;
}
inline
MapBasePtr
LandmarkBase
::
getMap
()
inline
MapBasePtr
LandmarkBase
::
getMap
()
const
{
return
map_ptr_
.
lock
();
}
...
...
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