Skip to content

Commit 39dabc1

Browse files
AleksandrPanovAleksandrPanov
authored andcommitted
add const
1 parent d1fe61a commit 39dabc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/aruco/include/opencv2/aruco/board.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ class CV_EXPORTS_W GridBoard : public Board {
125125
const Ptr<Dictionary> &dictionary, int firstMarker = 0);
126126

127127
CV_WRAP Size getGridSize() const;
128-
CV_WRAP float getMarkerLength();
129-
CV_WRAP float getMarkerSeparation();
128+
CV_WRAP float getMarkerLength() const;
129+
CV_WRAP float getMarkerSeparation() const;
130130

131131
protected:
132132
struct GridImpl;

modules/aruco/src/board.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ Size GridBoard::getGridSize() const {
194194
return Size(gridImpl->sizeX, gridImpl->sizeY);
195195
}
196196

197-
float GridBoard::getMarkerLength() {
197+
float GridBoard::getMarkerLength() const {
198198
return gridImpl->markerLength;
199199
}
200200

201-
float GridBoard::getMarkerSeparation() {
201+
float GridBoard::getMarkerSeparation() const {
202202
return gridImpl->markerSeparation;
203203
}
204204

0 commit comments

Comments
 (0)