Skip to content

Commit 9e9fb7d

Browse files
authored
Fix static_assert error message of counter (baidu#103)
1 parent a3f2c9f commit 9e9fb7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/babylon/concurrent/counter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GenericsConcurrentAdder {
2828
static_assert((::std::is_integral<T>::value ||
2929
::std::is_floating_point<T>::value) &&
3030
8 >= sizeof(T),
31-
"ConcurrentSummer only supports integral or "
31+
"GenericsConcurrentAdder only supports integral or "
3232
"floating point types with size <= 8 bytes");
3333

3434
public:
@@ -103,7 +103,7 @@ class ConcurrentComparer {
103103
static_assert((::std::is_integral<T>::value ||
104104
::std::is_floating_point<T>::value) &&
105105
8 >= sizeof(T),
106-
"ConcurrentSummer only supports integral or "
106+
"ConcurrentComparer only supports integral or "
107107
"floating point types with size <= 8 bytes");
108108

109109
constexpr static T EXTREMUM =

0 commit comments

Comments
 (0)