Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during make #7

Open
xomak opened this issue Oct 20, 2023 · 1 comment
Open

error during make #7

xomak opened this issue Oct 20, 2023 · 1 comment

Comments

@xomak
Copy link

xomak commented Oct 20, 2023

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();
| ~~~~~~~~~~~~~^~

@xomak
Copy link
Author

xomak commented Oct 20, 2023

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();
| ~~~~~~~~~~~~~^~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant