diff --git a/doc/example/motivation.cpp b/doc/example/motivation.cpp index 617cc06..9aef368 100644 --- a/doc/example/motivation.cpp +++ b/doc/example/motivation.cpp @@ -8,7 +8,7 @@ #define BOOST_AUTO_TEST_MAIN #include -#include +#include #include "calculator.hpp" #include "mock_view.hpp" diff --git a/doc/example/reference.cpp b/doc/example/reference.cpp index 61fa10c..46a44d7 100644 --- a/doc/example/reference.cpp +++ b/doc/example/reference.cpp @@ -111,7 +111,7 @@ struct base template< typename T > struct name : base< T >, mock::object { - typedef typename base< T > base_type; + typedef base< T > base_type; }; //] }