fix warning

"const" ignored in this return type
release/4.3a0
Jose Luis Blanco Claraco 2019-06-12 11:53:27 +02:00 committed by Jose Luis Blanco-Claraco
parent 59369b230b
commit 39e08c9a4e
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class GTSAM_EXPORT VariableIndex {
}
/// Return true if no factors associated with a variable
const bool empty(Key variable) const {
bool empty(Key variable) const {
return (*this)[variable].empty();
}