git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@5 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2009-08-28 20:07:45 +00:00
parent 0da9eb6458
commit 22d9120dc8
2 changed files with 5 additions and 6 deletions

View file

@ -29,12 +29,11 @@ namespace detail
{}; {};
template< typename S > template< typename S >
eaten operator<<( S& s, const eater& ); eaten operator<<( S&, const eater& );
template< int I > template< int I >
struct selector struct selector
{ {};
};
template<> template<>
struct selector< sizeof( std::ostream& ) > struct selector< sizeof( std::ostream& ) >
{ {

View file

@ -6,8 +6,8 @@
// http://www.boost.org/LICENSE_1_0.txt) // http://www.boost.org/LICENSE_1_0.txt)
// //
#ifndef MOCK_TOOLS_HPP_INCLUDED #ifndef MOCK_MOCK_HPP_INCLUDED
#define MOCK_TOOLS_HPP_INCLUDED #define MOCK_MOCK_HPP_INCLUDED
#include "error.hpp" #include "error.hpp"
#include "object.hpp" #include "object.hpp"
@ -153,4 +153,4 @@ namespace detail
#define MOCK_RESET(m,t) MOCK_MOCKER(m,t).reset() #define MOCK_RESET(m,t) MOCK_MOCKER(m,t).reset()
#define MOCK_VERIFY(m,t) MOCK_MOCKER(m,t).verify() #define MOCK_VERIFY(m,t) MOCK_MOCKER(m,t).verify()
#endif // #ifndef MOCK_TOOLS_HPP_INCLUDED #endif // #ifndef MOCK_MOCK_HPP_INCLUDED