summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/Body.h')
-rw-r--r--Swiften/Elements/Body.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/Elements/Body.h b/Swiften/Elements/Body.h
index e3610c8..8262e09 100644
--- a/Swiften/Elements/Body.h
+++ b/Swiften/Elements/Body.h
@@ -4,8 +4,7 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_Body_H
-#define SWIFTEN_Body_H
+#pragma once
#include "Swiften/Elements/Payload.h"
#include "Swiften/Base/String.h"
@@ -13,6 +12,8 @@
namespace Swift {
class Body : public Payload {
public:
+ typedef boost::shared_ptr<Body> ref;
+
Body(const String& text = "") : text_(text) {
}
@@ -28,5 +29,3 @@ namespace Swift {
String text_;
};
}
-
-#endif