Skip to content

Commit 275e72f

Browse files
lemireanonrig
authored andcommitted
avoid copy
1 parent 1ec1065 commit 275e72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug_utils-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct ToStringHelper {
5050
template <unsigned BASE_BITS,
5151
typename T,
5252
typename = std::enable_if_t<!std::is_integral_v<T>>>
53-
static std::string BaseConvert(T value) {
53+
static std::string BaseConvert(T& value) {
5454
return Convert(std::forward<T>(value));
5555
}
5656
};

0 commit comments

Comments
 (0)