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/Elements
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/Elements')
-rw-r--r--Swiften/Elements/Form.h1
-rw-r--r--Swiften/Elements/FormField.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Elements/Form.h b/Swiften/Elements/Form.h
index 85ba9c7..899fb93 100644
--- a/Swiften/Elements/Form.h
+++ b/Swiften/Elements/Form.h
@@ -6,6 +6,7 @@
#pragma once
+#include <cassert>
#include <string>
#include <vector>
diff --git a/Swiften/Elements/FormField.h b/Swiften/Elements/FormField.h
index 2d71ac7..194589c 100644
--- a/Swiften/Elements/FormField.h
+++ b/Swiften/Elements/FormField.h
@@ -6,6 +6,7 @@
#pragma once
+#include <cassert>
#include <memory>
#include <string>
#include <vector>