Reverted 547,548

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@549 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-09-01 22:41:58 +00:00
parent 48da35fef0
commit b323536096
2 changed files with 0 additions and 56 deletions

View file

@ -15,7 +15,6 @@
#include <boost/utility/enable_if.hpp>
#include <boost/noncopyable.hpp>
#include <boost/ref.hpp>
#include <cstring>
namespace mock
{
@ -58,26 +57,6 @@ namespace detail
Expected expected_;
};
template<>
class check< const char*, const char* > : public check_base< const char* >
{
public:
explicit check( const char* expected )
: expected_( expected )
{}
virtual bool operator()( const char* actual )
{
return std::strcmp( actual, expected_ ) == 0;
}
private:
virtual void serialize( std::ostream& s ) const
{
s << mock::format( expected_ );
}
private:
const char* expected_;
};
template< typename Actual, typename Constraint >
class check< Actual, mock::constraint< Constraint > >
: public check_base< Actual >