summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-28 14:19:00 (GMT)
committerTobias Markmann <tm@ayena.de>2014-10-28 14:19:00 (GMT)
commit190cdcf7478950a90a5c8666d82047e4f33e0d2c (patch)
treea2f5727e4e82eea5497c722e3e1d11146662bdb3
parente6ae29065d034dc23a0cc0ac4874956b931dd1c9 (diff)
downloadswift-190cdcf7478950a90a5c8666d82047e4f33e0d2c.zip
swift-190cdcf7478950a90a5c8666d82047e4f33e0d2c.tar.bz2
Add missing default c-tor, copy c-tor and assignment operator to element for smooth C++11 compilation.
Test-Information: 
Tested compilation with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) and Qt 5.3. Change-Id: I56444a4c1a540754696e1f4ec7bc04cf59920f99
-rw-r--r--Swiften/Elements/Element.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Elements/Element.h b/Swiften/Elements/Element.h
index d07dae2..6bcf93e 100644
--- a/Swiften/Elements/Element.h
+++ b/Swiften/Elements/Element.h
@@ -11,6 +11,10 @@
namespace Swift {
class SWIFTEN_API Element {
public:
+ Element() {}
+ SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Element)
virtual ~Element();
+
+ SWIFTEN_DEFAULT_COPY_ASSIGMNENT_OPERATOR(Element)
};
}