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/Elements/Version.h | |
parent | 81443e9863763187a4d6e40a5b7c75be6ad39809 (diff) | |
download | swift-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.h | 8 |
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 |