mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-09 11:37:02 +08:00
VS2019: fixed build
This commit is contained in:
@@ -74,7 +74,7 @@ if(@CONF_WITH_GUI@ AND ${WITH_GUI})
|
|||||||
|
|
||||||
set(RTABMap_LIBRARIES ${RTABMap_LIBRARIES} ${RTABMap_GUI})
|
set(RTABMap_LIBRARIES ${RTABMap_LIBRARIES} ${RTABMap_GUI})
|
||||||
elseif(${WITH_GUI})
|
elseif(${WITH_GUI})
|
||||||
MESSAGE(ERROR "Asked for \"gui\" module but RTABMap hasn't been built with gui support.")
|
MESSAGE(WARNING "Asked for \"gui\" module but RTABMap hasn't been built with gui support.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ struct EVComparator{
|
|||||||
EVComparator(){
|
EVComparator(){
|
||||||
mode=CompareLevel;
|
mode=CompareLevel;
|
||||||
}
|
}
|
||||||
inline bool operator() (const E& e1, const E& e2){
|
inline bool operator() (const E& e1, const E& e2) const {
|
||||||
int o1=0, o2=0;
|
int o1=0, o2=0;
|
||||||
switch (mode){
|
switch (mode){
|
||||||
case CompareLevel:
|
case CompareLevel:
|
||||||
|
|||||||
Reference in New Issue
Block a user