/*
- * 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.
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
+#include <type_traits>
#include <dali-test-suite-utils.h>
#include <dali/devel-api/threading/conditional-wait.h>
#include <dali/devel-api/threading/thread.h>
{
// 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;