We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 885544b commit a0d4ff3Copy full SHA for a0d4ff3
1 file changed
include/osp/auxiliary/hash_util.hpp
@@ -26,7 +26,7 @@ template <typename VertexType, std::size_t defautlVal = 11U>
26
struct UniformNodeHashFunc {
27
using ResultType = std::size_t;
28
29
- ResultType operator()(const VertexType &) { return defautlVal; }
+ constexpr ResultType operator()(const VertexType &) { return defautlVal; }
30
};
31
32
template <typename VertexType>
0 commit comments