Skip to content

Commit a0d4ff3

Browse files
constexpr
1 parent 885544b commit a0d4ff3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/osp/auxiliary/hash_util.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ template <typename VertexType, std::size_t defautlVal = 11U>
2626
struct UniformNodeHashFunc {
2727
using ResultType = std::size_t;
2828

29-
ResultType operator()(const VertexType &) { return defautlVal; }
29+
constexpr ResultType operator()(const VertexType &) { return defautlVal; }
3030
};
3131

3232
template <typename VertexType>

0 commit comments

Comments
 (0)