lottie: updated library dependancy to c++14 65/185065/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 26 Jul 2018 00:43:36 +0000 (09:43 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Thu, 26 Jul 2018 00:43:36 +0000 (09:43 +0900)
Change-Id: I6262065f30393830ea5192d0f549491f2c42677e

CMakeLists.txt
meson.build
src/vector/vglobal.h

index 40f8ea602c6951fa9a4bc53de13d81ccd739d9e4..daf3d6bad9a4165aca5c77246543fc816ea3701c 100644 (file)
@@ -22,7 +22,7 @@ add_library(lottie-player::lottie-player ALIAS lottie-player)
 #declare target compilation options
 target_compile_options(lottie-player
                     PUBLIC
-                        -std=c++11
+                        -std=c++14
                     PRIVATE
                         -Wall -fvisibility=hidden)
 
index c6a2f2afbaaf2ad632d7fc3e61a65a609792799c..8abff811a52edc8e5196699ee58e4d19f297682b 100644 (file)
@@ -6,7 +6,7 @@ lottie_player_lib_version = '0.0.1'
 
 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']
index eefe5b29098d417e3a601988bb57f7cc2aa85bc0..0585955991bd89f9b7083b1d2fbeac78e9fd84e6 100644 (file)
@@ -35,16 +35,6 @@ typedef uint8_t          uchar;
 #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