diff --git a/test/compile_fail/attr_functor_void_return.cpp b/test/compile_fail/attr_functor_void_return.cpp index c9701e0..5ad7a59 100644 --- a/test/compile_fail/attr_functor_void_return.cpp +++ b/test/compile_fail/attr_functor_void_return.cpp @@ -25,7 +25,7 @@ namespace attrs = logging::attributes; namespace { // A test function that returns an attribute value - void get_attr_value(); + void get_attr_value() {} } // namespace