mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
libstdc++: Fix typo in operator used in __pack_ints [PR122864]
`<=` was used instead of `<<`, this was detected by clang warning. PR libstdc++/122864 libstdc++-v3/ChangeLog: * include/std/chrono (chrono::__pack_ints): Replace `<=` with `<<`.
This commit is contained in:
@@ -3355,7 +3355,7 @@ namespace __detail
|
||||
}());
|
||||
|
||||
_ResT __res = __v1;
|
||||
((__res = (__res <= (sizeof(_Ts) * __CHAR_BIT__) | _ResT(__vs))), ...);
|
||||
((__res = (__res << (sizeof(_Ts) * __CHAR_BIT__) | _ResT(__vs))), ...);
|
||||
return __res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user