Advertisement
HellFinger

Untitled

May 20th, 2022
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. /home/georgyfenix/Documents/Hash/hash_wrappers.cpp:44:14: error: no declaration matches ‘uint32_t hfl::CityHash32Wrapper::Hash(const char*, size_t) const’
  2. 44 | uint32_t CityHash32Wrapper::Hash(const char *message, size_t length) const {
  3. | ^~~~~~~~~~~~~~~~~
  4. In file included from /home/georgyfenix/Documents/Hash/hash_wrappers.cpp:10:
  5. /home/georgyfenix/Documents/Hash/hash_wrappers.h:127:32: note: candidate is: ‘virtual uint32_t hfl::CityHash32Wrapper::Hash(std::string_view) const’
  6. 127 | [[nodiscard]] uint32_t Hash(std::string_view str) const override;
  7. | ^~~~
  8. /home/georgyfenix/Documents/Hash/hash_wrappers.h:125:28: note: ‘class hfl::CityHash32Wrapper’ defined here
  9. 125 | class [[maybe_unused]] CityHash32Wrapper : public BaseHash32Wrapper {
  10. | ^~~~~~~~~~~~~~~~~
  11. /home/georgyfenix/Documents/Hash/hash_wrappers.cpp:48:14: error: no declaration matches ‘uint64_t hfl::CityHash64Wrapper::Hash(const char*, size_t) const’
  12. 48 | uint64_t CityHash64Wrapper::Hash(const char *message, size_t length) const {
  13. | ^~~~~~~~~~~~~~~~~
  14. In file included from /home/georgyfenix/Documents/Hash/hash_wrappers.cpp:10:
  15. /home/georgyfenix/Documents/Hash/hash_wrappers.h:132:32: note: candidate is: ‘virtual uint64_t hfl::CityHash64Wrapper::Hash(std::string_view) const’
  16. 132 | [[nodiscard]] uint64_t Hash(std::string_view str) const override;
  17. | ^~~~
  18. /home/georgyfenix/Documents/Hash/hash_wrappers.h:130:28: note: ‘class hfl::CityHash64Wrapper’ defined here
  19. 130 | class [[maybe_unused]] CityHash64Wrapper : public BaseHash64Wrapper {
  20. | ^~~~~~~~~~~~~~~~~
  21. make[2]: *** [CMakeFiles/hash_wrappers.dir/build.make:63: CMakeFiles/hash_wrappers.dir/hash_wrappers.cpp.o] Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement