summaryrefslogtreecommitdiff
path: root/common/accel_types.hpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-29 01:10:29 -0700
committerJacob Palecki <[email protected]>2020-07-29 01:10:29 -0700
commit7963edee802d5a7b51f1867a5133857c403c8ef6 (patch)
tree42995f07946acffefbf8adc22676e52f11b8faea /common/accel_types.hpp
parentSeparate accel implementations into files (diff)
downloadrawaccel-7963edee802d5a7b51f1867a5133857c403c8ef6.tar.xz
rawaccel-7963edee802d5a7b51f1867a5133857c403c8ef6.zip
Inline methods for linking, and fix sens application bug
Diffstat (limited to 'common/accel_types.hpp')
-rw-r--r--common/accel_types.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/accel_types.hpp b/common/accel_types.hpp
index c931097..15f5a50 100644
--- a/common/accel_types.hpp
+++ b/common/accel_types.hpp
@@ -7,7 +7,7 @@ namespace rawaccel {
// Error throwing calls std libraries which are unavailable in kernel mode.
#ifdef _KERNEL_MODE
- void error(const char*) {}
+ inline void error(const char*) {}
#else
void error(const char* s);
#endif