1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-09 20:25:19 +00:00

Omits redundant qualifier.

This code can't be anything but `inline`.
This commit is contained in:
Thomas Harte
2019-07-29 23:07:02 -04:00
parent 12441bddab
commit 0521de668a

View File

@@ -149,7 +149,7 @@ template <class T> class WrappedInt {
Flushes the value in @c this. The current value is returned, and the internal value
is reset to zero.
*/
forceinline template <typename Result> Result flush() {
template <typename Result> Result flush() {
// Jiggery pokery here; switching to function overloading avoids
// the namespace-level requirement for template specialisation.
Result r;