Change-Id: I6262065f30393830ea5192d0f549491f2c42677e
#declare target compilation options
target_compile_options(lottie-player
PUBLIC
- -std=c++11
+ -std=c++14
PRIVATE
-Wall -fvisibility=hidden)
add_global_arguments('-DDEMO_DIR="@0@/example/resource/"'.format(meson.current_source_dir()), language : 'cpp')
-compiler_flags = ['-Wall','-std=c++11', '-fvisibility=hidden']
+compiler_flags = ['-Wall','-std=c++14', '-fvisibility=hidden']
if (build_machine.system() == 'linux')
compiler_flags += ['-pthread']
#include"vdebug.h"
#define VECTOR_FALLTHROUGH
-/*
- * keep this till we move the code to c++14
- */
-namespace std {
-template<typename T, typename ...Args>
-std::unique_ptr<T> make_unique( Args&& ...args )
-{
- return std::unique_ptr<T>( new T( std::forward<Args>(args)... ) );
-}
-}
#include<atomic>
class RefCount