summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-07-15 09:06:08 (GMT)
committerTobias Markmann <tm@ayena.de>2016-07-15 10:26:22 (GMT)
commit8dce1cd03729624a25a98dd2c0d026b93e452f86 (patch)
treed44d870614067cc8ee53033a9657b359d9d6ebf9 /Swiften/Parser
parent4a5edee04bd9d31f84c1c48d90d75b04be3adbb6 (diff)
downloadswift-8dce1cd03729624a25a98dd2c0d026b93e452f86.zip
swift-8dce1cd03729624a25a98dd2c0d026b93e452f86.tar.bz2
Add missing includes for assert()swift-4.0beta1
This fixes building via ./Swift/Packaging/Debian/package_all_platforms.sh . Removed #pragma statements and did minimal associated cleanup. Test-Information: ./Swift/Packaging/Debian/package_all_platforms.sh passes successfully. ./scons test=all passes on OS X 10.11.5. Change-Id: I1688da31ca6081eddfcda83d473b15c3f711b420
Diffstat (limited to 'Swiften/Parser')
-rw-r--r--Swiften/Parser/PayloadParsers/SecurityLabelParser.cpp2
-rw-r--r--Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.cpp1
-rw-r--r--Swiften/Parser/SerializingParser.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Parser/PayloadParsers/SecurityLabelParser.cpp b/Swiften/Parser/PayloadParsers/SecurityLabelParser.cpp
index 3dd5811..6e2319f 100644
--- a/Swiften/Parser/PayloadParsers/SecurityLabelParser.cpp
+++ b/Swiften/Parser/PayloadParsers/SecurityLabelParser.cpp
@@ -6,6 +6,8 @@
#include <Swiften/Parser/PayloadParsers/SecurityLabelParser.h>
+#include <cassert>
+
#include <Swiften/Parser/SerializingParser.h>
namespace Swift {
diff --git a/Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.cpp b/Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.cpp
index 0de7544..1897080 100644
--- a/Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.cpp
+++ b/Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.cpp
@@ -6,6 +6,7 @@
#include <Swiften/Parser/PayloadParsers/SecurityLabelsCatalogParser.h>
+#include <cassert>
#include <memory>
#include <Swiften/Parser/PayloadParsers/SecurityLabelParser.h>
diff --git a/Swiften/Parser/SerializingParser.cpp b/Swiften/Parser/SerializingParser.cpp
index 9e39279..ad794aa 100644
--- a/Swiften/Parser/SerializingParser.cpp
+++ b/Swiften/Parser/SerializingParser.cpp
@@ -6,6 +6,7 @@
#include <Swiften/Parser/SerializingParser.h>
+#include <cassert>
#include <memory>
#include <Swiften/Base/foreach.h>