Fixed usage of compile-time assertions
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@76 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
cff15d1d0c
commit
0e0465a7d2
1 changed files with 3 additions and 3 deletions
|
@ -410,7 +410,7 @@ namespace Loki
|
|||
|
||||
static P Clone(const P&)
|
||||
{
|
||||
CT_ASSERT(false, This_Policy_Disallows_Value_Copying);
|
||||
STATIC_CHECK(false, This_Policy_Disallows_Value_Copying);
|
||||
}
|
||||
|
||||
static bool Release(const P&)
|
||||
|
@ -601,8 +601,8 @@ namespace Loki
|
|||
|
||||
static void OnDefault(const P&)
|
||||
{
|
||||
CompileTimeError<false>
|
||||
ERROR_This_Policy_Does_Not_Allow_Default_Initialization;
|
||||
STATIC_CHECK(false,
|
||||
This_Policy_Does_Not_Allow_Default_Initialization);
|
||||
}
|
||||
|
||||
static void OnInit(const P& val)
|
||||
|
|
Loading…
Reference in a new issue