diff options
Diffstat (limited to 'Swiften/Base/Error.h')
-rw-r--r-- | Swiften/Base/Error.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Swiften/Base/Error.h b/Swiften/Base/Error.h index d9f3b91..af4f27e 100644 --- a/Swiften/Base/Error.h +++ b/Swiften/Base/Error.h @@ -1,7 +1,7 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once @@ -9,8 +9,11 @@ #include <Swiften/Base/API.h> namespace Swift { - class SWIFTEN_API Error { - public: - virtual ~Error(); - }; + class SWIFTEN_API Error { + public: + Error() {} + SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Error) + SWIFTEN_DEFAULT_COPY_ASSIGMNENT_OPERATOR(Error) + virtual ~Error(); + }; } |