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/Elements/Version.h
parent81443e9863763187a4d6e40a5b7c75be6ad39809 (diff)
downloadswift-5e766d702dc0fe255732731b77018d256cdee6b0.zip
swift-5e766d702dc0fe255732731b77018d256cdee6b0.tar.bz2
Replace header include guards by pragma once.
Diffstat (limited to 'Swiften/Elements/Version.h')
-rw-r--r--Swiften/Elements/Version.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Swiften/Elements/Version.h b/Swiften/Elements/Version.h
index a7be325..350fd91 100644
--- a/Swiften/Elements/Version.h
+++ b/Swiften/Elements/Version.h
@@ -4,15 +4,13 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_STANZAS_VERSION_H
-#define SWIFTEN_STANZAS_VERSION_H
+#pragma once
#include <string>
#include <Swiften/Elements/Payload.h>
namespace Swift {
- class Version : public Payload
- {
+ class Version : public Payload {
public:
Version(const std::string& name = "", const std::string& version = "", const std::string& os = "") : name_(name), version_(version), os_(os) { }
@@ -26,5 +24,3 @@ namespace Swift {
std::string os_;
};
}
-
-#endif