From 48da35fef090ddf79762fc6e0defeaa54aadb5e2 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sat, 1 Sep 2012 22:21:12 +0000 Subject: [PATCH] Changed char* constraint behaviour to be comparable to another char* git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@548 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/check.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/turtle/detail/check.hpp b/turtle/detail/check.hpp index a7ec0ce..0691ded 100644 --- a/turtle/detail/check.hpp +++ b/turtle/detail/check.hpp @@ -15,6 +15,7 @@ #include #include #include +#include namespace mock { @@ -66,7 +67,7 @@ namespace detail {} virtual bool operator()( const char* actual ) { - return strcmp( actual, expected_ ) == 0; + return std::strcmp( actual, expected_ ) == 0; } private: virtual void serialize( std::ostream& s ) const