Fix inline

This commit is contained in:
Sebastian Messmer 2018-09-15 17:31:56 -07:00
parent 43ffff5900
commit 347be60ba6

View File

@ -21,12 +21,12 @@ private:
};
template<typename Property>
struct ::statvfs FuseStatfsReturnTest<Property>::CallStatfsWithValue(Property value) {
inline struct ::statvfs FuseStatfsReturnTest<Property>::CallStatfsWithValue(Property value) {
return CallStatfsWithImpl(SetPropertyImpl(value));
}
template<typename Property>
std::function<void(struct ::statvfs*)> FuseStatfsReturnTest<Property>::SetPropertyImpl(Property value) {
inline std::function<void(struct ::statvfs*)> FuseStatfsReturnTest<Property>::SetPropertyImpl(Property value) {
return [this, value] (struct ::statvfs *stat) {
set(stat, value);
};