diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-05-02 18:56:15 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-05-02 18:56:15 (GMT) |
commit | 5e766d702dc0fe255732731b77018d256cdee6b0 (patch) | |
tree | be22bdd6a08e154ab89adebd29e7aed4f23a9360 /Swiften/Serializer/XML | |
parent | 81443e9863763187a4d6e40a5b7c75be6ad39809 (diff) | |
download | swift-contrib-5e766d702dc0fe255732731b77018d256cdee6b0.zip swift-contrib-5e766d702dc0fe255732731b77018d256cdee6b0.tar.bz2 |
Replace header include guards by pragma once.
Diffstat (limited to 'Swiften/Serializer/XML')
-rw-r--r-- | Swiften/Serializer/XML/XMLNode.h | 5 | ||||
-rw-r--r-- | Swiften/Serializer/XML/XMLRawTextNode.h | 5 |
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 |