summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/Lua/Exception.h')
-rw-r--r--Sluift/Lua/Exception.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Sluift/Lua/Exception.h b/Sluift/Lua/Exception.h
index 6d00d01..a68b925 100644
--- a/Sluift/Lua/Exception.h
+++ b/Sluift/Lua/Exception.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013 Remko Tronçon
+ * Copyright (c) 2013-2014 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -7,13 +7,15 @@
#pragma once
#include <stdexcept>
+#include <Swiften/Base/API.h>
namespace Swift {
namespace Lua {
class Exception : public std::runtime_error {
public:
Exception(const std::string& what);
- virtual ~Exception() throw();
+ SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(Exception)
+ virtual ~Exception() SWIFTEN_NOEXCEPT;
};
}
}