Refactoring

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@108 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2010-02-01 22:01:20 +00:00
parent a1149fe872
commit 89d972bda5
2 changed files with 3 additions and 1 deletions

View file

@ -20,7 +20,7 @@ namespace detail
typedef char true_type; typedef char true_type;
struct false_type struct false_type
{ {
char padding[8]; true_type padding[2];
}; };
template< typename T > template< typename T >

View file

@ -23,6 +23,8 @@
namespace namespace
{ {
BOOST_STATIC_ASSERT( sizeof( mock::detail::true_type ) != sizeof( mock::detail::false_type ) );
template< typename T > template< typename T >
void check( T ) void check( T )
{ {