summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--depends/util/CMakeLists.txt2
-rw-r--r--logic/lists/InstanceList.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/depends/util/CMakeLists.txt b/depends/util/CMakeLists.txt
index 8e89aa74..35c4db17 100644
--- a/depends/util/CMakeLists.txt
+++ b/depends/util/CMakeLists.txt
@@ -4,7 +4,7 @@ project(libUtil)
IF(APPLE)
# assume clang 4.1.0+, add C++0x/C++11 stuff
message(STATUS "Using APPLE CMAKE_CXX_FLAGS")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -stdlib=libc++")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
ELSEIF(UNIX)
# assume GCC, add C++0x/C++11 stuff
MESSAGE(STATUS "Using UNIX CMAKE_CXX_FLAGS")
diff --git a/logic/lists/InstanceList.cpp b/logic/lists/InstanceList.cpp
index b2c9ec6d..1d33d8d6 100644
--- a/logic/lists/InstanceList.cpp
+++ b/logic/lists/InstanceList.cpp
@@ -100,7 +100,7 @@ void InstanceList::saveGroupList()
}
toplevel.insert("groups",groupsArr);
QJsonDocument doc(toplevel);
- groupFile.write(doc.toJson(QJsonDocument::Indented));
+ groupFile.write(doc.toJson());
groupFile.close();
}