summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-02 18:56:15 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-02 18:56:15 (GMT)
commit5e766d702dc0fe255732731b77018d256cdee6b0 (patch)
treebe22bdd6a08e154ab89adebd29e7aed4f23a9360 /Swiften/Serializer/XML
parent81443e9863763187a4d6e40a5b7c75be6ad39809 (diff)
downloadswift-5e766d702dc0fe255732731b77018d256cdee6b0.zip
swift-5e766d702dc0fe255732731b77018d256cdee6b0.tar.bz2
Replace header include guards by pragma once.
Diffstat (limited to 'Swiften/Serializer/XML')
-rw-r--r--Swiften/Serializer/XML/XMLNode.h5
-rw-r--r--Swiften/Serializer/XML/XMLRawTextNode.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/Swiften/Serializer/XML/XMLNode.h b/Swiften/Serializer/XML/XMLNode.h
index 5261888..d222faf 100644
--- a/Swiften/Serializer/XML/XMLNode.h
+++ b/Swiften/Serializer/XML/XMLNode.h
@@ -4,8 +4,7 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_XMLNode_H
-#define SWIFTEN_XMLNode_H
+#pragma once
#include <string>
@@ -17,5 +16,3 @@ namespace Swift {
virtual std::string serialize() = 0;
};
}
-
-#endif
diff --git a/Swiften/Serializer/XML/XMLRawTextNode.h b/Swiften/Serializer/XML/XMLRawTextNode.h
index d777cdb..9e222d5 100644
--- a/Swiften/Serializer/XML/XMLRawTextNode.h
+++ b/Swiften/Serializer/XML/XMLRawTextNode.h
@@ -4,8 +4,7 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_XMLRawTextNode_H
-#define SWIFTEN_XMLRawTextNode_H
+#pragma once
#include <Swiften/Serializer/XML/XMLNode.h>
@@ -23,5 +22,3 @@ namespace Swift {
std::string text_;
};
}
-
-#endif