mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@108 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
a1149fe872
commit
89d972bda5
2 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ namespace detail
|
|||
typedef char true_type;
|
||||
struct false_type
|
||||
{
|
||||
char padding[8];
|
||||
true_type padding[2];
|
||||
};
|
||||
|
||||
template< typename T >
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
namespace
|
||||
{
|
||||
BOOST_STATIC_ASSERT( sizeof( mock::detail::true_type ) != sizeof( mock::detail::false_type ) );
|
||||
|
||||
template< typename T >
|
||||
void check( T )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue