Use C++14 so we have make_unique

This commit is contained in:
Twan van Laarhoven
2020-04-20 19:49:25 +02:00
parent 0310ca9f32
commit a5b2b77d2a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
project(magicseteditor)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
find_package(wxWidgets 3 REQUIRED COMPONENTS core base net html)
+1
View File
@@ -21,6 +21,7 @@ using std::unique_ptr;
using std::static_pointer_cast;
using std::dynamic_pointer_cast;
using std::make_shared;
using std::make_unique;
// TODO: remove scoped_ptr
template <typename T> using scoped_ptr = unique_ptr<T>;