X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali%2Futc-Dali-ConditionalWait.cpp;h=3ab2f36f74f93a5cb574986289f30d0f2d8cd589;hb=52aff821ed3dc357937e58e70a83260418a194c2;hp=88a39029b31b5764888748aea8a2c313bddb6423;hpb=679e2ae09e17cd5daf74b4309d6ea5cbb7051d1b;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/automated-tests/src/dali/utc-Dali-ConditionalWait.cpp b/automated-tests/src/dali/utc-Dali-ConditionalWait.cpp index 88a3902..3ab2f36 100644 --- a/automated-tests/src/dali/utc-Dali-ConditionalWait.cpp +++ b/automated-tests/src/dali/utc-Dali-ConditionalWait.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -250,7 +251,7 @@ int UtcConditionalWaitNonCopyable(void) { // we want to make sure that ConditionalWait is not copyable (its copy constructor is not defined) // this test will stop compiling if ConditionalWait has compiler generated copy constructor - DALI_COMPILE_TIME_ASSERT( !__has_trivial_copy( ConditionalWait ) ); + static_assert( !__has_trivial_copy( ConditionalWait ), "ConditionalWait should NOT be copyable" ); DALI_TEST_CHECK( true ); END_TEST;