File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ class DetectionResult : public internal::base_object<DetectionResult> {
4646 DetectionResult (std::vector<std::shared_ptr<StrippedKeypoint>> keypoints,
4747 std::vector<std::vector<uint8_t >> descriptors);
4848
49- std::vector<std::shared_ptr<StrippedKeypoint>> getKeypoints ();
49+ std::vector<std::shared_ptr<StrippedKeypoint>> getKeypoints () const ;
5050
51- std::vector<std::vector<uint8_t >> getDescriptors ();
51+ std::vector<std::vector<uint8_t >> getDescriptors () const ;
5252
5353 private:
5454 std::vector<std::shared_ptr<StrippedKeypoint>> keypoints_;
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ DetectionResult::DetectionResult(std::vector<std::shared_ptr<StrippedKeypoint>>
66 std::vector<std::vector<uint8_t >> descriptors)
77 : keypoints_(std::move(keypoints)), descriptors_(std::move(descriptors)) {}
88
9- std::vector<std::shared_ptr<StrippedKeypoint>> DetectionResult::getKeypoints () {
9+ std::vector<std::shared_ptr<StrippedKeypoint>> DetectionResult::getKeypoints () const {
1010 return keypoints_;
1111}
1212
13- std::vector<std::vector<uint8_t >> DetectionResult::getDescriptors () {
13+ std::vector<std::vector<uint8_t >> DetectionResult::getDescriptors () const {
1414 return descriptors_;
1515}
1616
You can’t perform that action at this time.
0 commit comments