From 347be60ba628b4360e2c87ca7c9bdeda9c2ee600 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sat, 15 Sep 2018 17:31:56 -0700 Subject: [PATCH] Fix inline --- test/fspp/fuse/statfs/testutils/FuseStatfsReturnTest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fspp/fuse/statfs/testutils/FuseStatfsReturnTest.h b/test/fspp/fuse/statfs/testutils/FuseStatfsReturnTest.h index b6cec026..a09309f9 100644 --- a/test/fspp/fuse/statfs/testutils/FuseStatfsReturnTest.h +++ b/test/fspp/fuse/statfs/testutils/FuseStatfsReturnTest.h @@ -21,12 +21,12 @@ private: }; template -struct ::statvfs FuseStatfsReturnTest::CallStatfsWithValue(Property value) { +inline struct ::statvfs FuseStatfsReturnTest::CallStatfsWithValue(Property value) { return CallStatfsWithImpl(SetPropertyImpl(value)); } template -std::function FuseStatfsReturnTest::SetPropertyImpl(Property value) { +inline std::function FuseStatfsReturnTest::SetPropertyImpl(Property value) { return [this, value] (struct ::statvfs *stat) { set(stat, value); };