mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 02:59:01 +08:00
4cfabe769e
* fix c++20 compilation error * update version --------- Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
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) ) );
|
|
}
|
|
|