make getter const

release/4.3a0
John Lambert 2021-01-06 15:50:08 -05:00 committed by GitHub
parent 758ece7238
commit 7daf01be3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ struct SfmTrack {
std::vector<SiftIndex> siftIndices;
/// Get RGB values describing 3d point
Point3 rgb() const { return Point3(r, g, b); }
const Point3 rgb() const { return Point3(r, g, b); }
/// Total number of measurements in this track
size_t number_measurements() const {