diff options
Diffstat (limited to 'Swiften/Parser/Tree/NullParserElement.h')
-rw-r--r-- | Swiften/Parser/Tree/NullParserElement.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Swiften/Parser/Tree/NullParserElement.h b/Swiften/Parser/Tree/NullParserElement.h index 60d8353..320e098 100644 --- a/Swiften/Parser/Tree/NullParserElement.h +++ b/Swiften/Parser/Tree/NullParserElement.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2015 Isode Limited. + * Copyright (c) 2011-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,16 +7,17 @@ #pragma once #include <string> + #include <Swiften/Base/API.h> #include <Swiften/Parser/Tree/ParserElement.h> namespace Swift { - class SWIFTEN_API NullParserElement : public ParserElement { - public: - NullParserElement() : ParserElement("", "", AttributeMap()) {} + class SWIFTEN_API NullParserElement : public ParserElement { + public: + NullParserElement() : ParserElement("", "", AttributeMap()) {} - virtual operator bool() { return false; } + virtual operator bool() { return false; } - static boost::shared_ptr<NullParserElement> element; - }; + static std::shared_ptr<NullParserElement> element; + }; } |