Open xomak opened 11 months ago
In file included from ccfx/ccfx.cpp:31:
ccfx/../newengine/clonedetector.h: In instantiation of ‘void CloneDetector<ElemType, HashValueType>::ClonePairListenerAdapter::found(const std::vector<CloneDetector<ElemType, HashValueType>::CloneSetItem>&, size_t, uint64_t) [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int; uint64_t = long unsigned int]’:
ccfx/../newengine/clonedetector.h:515:16: required from here
ccfx/../newengine/clonedetector.h:519:58: error: cannot call member function ‘size_t CloneDetector<ElemType, HashValueType>::getUnitLength() const [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int]’ without object
519 | size_t unitLength = getUnitLength();
| ~~~~~^~
error: cannot call member function ‘size_t CloneDetector<ElemType, HashValueType>::getUnitLength() const [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int]’ without object 519 | size_t unitLength = getUnitLength(); |
~~~~~^~