mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 13:30:06 +08:00
23 lines
759 B
Diff
23 lines
759 B
Diff
|
diff --git a/octomap/include/octomap/ScanGraph.h b/octomap/include/octomap/ScanGraph.h
|
||
|
index 07c7436..e54eaf5 100644
|
||
|
--- a/octomap/include/octomap/ScanGraph.h
|
||
|
+++ b/octomap/include/octomap/ScanGraph.h
|
||
|
@@ -60,7 +60,7 @@ namespace octomap {
|
||
|
|
||
|
~ScanNode();
|
||
|
|
||
|
- bool operator == (const ScanNode& other) {
|
||
|
+ bool operator == (const ScanNode& other) const {
|
||
|
return (id == other.id);
|
||
|
}
|
||
|
|
||
|
@@ -87,7 +87,7 @@ namespace octomap {
|
||
|
: first(_first), second(_second), constraint(_constraint), weight(1.0) { }
|
||
|
ScanEdge() {}
|
||
|
|
||
|
- bool operator == (const ScanEdge& other) {
|
||
|
+ bool operator == (const ScanEdge& other) const {
|
||
|
return ( (*first == *(other.first) ) && ( *second == *(other.second) ) );
|
||
|
}
|
||
|
|