From 190cdcf7478950a90a5c8666d82047e4f33e0d2c Mon Sep 17 00:00:00 2001 From: Tobias Markmann <tm@ayena.de> Date: Tue, 28 Oct 2014 15:19:00 +0100 Subject: Add missing default c-tor, copy c-tor and assignment operator to element for smooth C++11 compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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) }; } -- cgit v0.10.2-6-g49f6