summaryrefslogtreecommitdiff
path: root/common/utility.hpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-04-01 01:51:31 -0400
committera1xd <[email protected]>2021-04-01 01:51:31 -0400
commit14bde56daf188bfc027dc8ead5b45ec0aa1109d6 (patch)
tree6c674efea62c4e945e4d8ed3e947189742486015 /common/utility.hpp
parentrefactor lut/motivity (diff)
downloadrawaccel-14bde56daf188bfc027dc8ead5b45ec0aa1109d6.tar.xz
rawaccel-14bde56daf188bfc027dc8ead5b45ec0aa1109d6.zip
update rest
grapher is still broken refactored io / error handling a bit
Diffstat (limited to 'common/utility.hpp')
-rw-r--r--common/utility.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/utility.hpp b/common/utility.hpp
index de90d44..5f5c186 100644
--- a/common/utility.hpp
+++ b/common/utility.hpp
@@ -81,4 +81,8 @@ namespace rawaccel {
return ilogb(x) == 0x400;
}
+ struct noop {
+ template <typename... Ts>
+ constexpr void operator()(Ts&&...) const noexcept {}
+ };
}