summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/exception.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/2geom/exception.h b/src/2geom/exception.h
index 1a031cab9..0791c8547 100644
--- a/src/2geom/exception.h
+++ b/src/2geom/exception.h
@@ -39,8 +39,7 @@ namespace Geom {
// Base exception class, all 2geom exceptions should be derrived from this one.
class Exception : public std::exception {
public:
- Exception(const char * message, const char *file, const int line)
- {
+ Exception(const char * message, const char *file, const int line) {
std::ostringstream os;
os << "lib2geom exception: " << message << " (" << file << ":" << line << ")";
msgstr = os.str();
@@ -48,7 +47,7 @@ public:
virtual ~Exception() throw() {} // necessary to destroy the string object!!!
- virtual const char* what() const throw (){
+ virtual const char* what() const throw () {
return msgstr.c_str();
}
protected: