diff --git a/include/c11log/details/stack_buf.h b/include/c11log/details/stack_buf.h
index bc743349abb41d796a02294fe5842cd690807131..cb45ac9666af2b66721cdc51e08b6df4ceb6c495 100644
--- a/include/c11log/details/stack_buf.h
+++ b/include/c11log/details/stack_buf.h
@@ -98,7 +98,7 @@ private:
             std::copy_n(other._stack_array.begin(), other._stack_size, _stack_array.begin());        
     }
 
-	bool vector_used() const
+	inline bool vector_used() const
 	{
 		return !(_v.empty());
 	}