diff options
author | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2008-08-13 09:48:17 -0500 |
---|---|---|
committer | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2008-08-13 09:48:17 -0500 |
commit | ae0be3920a128a1dfdb25aca0b9d595beb0d0c8b (patch) | |
tree | e1ca4dcf24d4bb5ddf60f6f84316fc53524f69a7 | |
parent | 525574a514087d2e0c564a8d5275978ee0e96328 (diff) |
change Cairo::logic_error::get_status() to get_status_code()
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | cairomm/exception.cc | 4 | ||||
-rw-r--r-- | cairomm/exception.h | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2008-08-13 Jonathon Jongsma <jjongsma@gnome.org> + + * cairomm/exception.cc: + * cairomm/exception.h: renamed get_status() to get_status_code() to make the + name a little bit more clear + 2008-08-09 Armin Burgmeier <armin@arbur.net> * MSVC_Net2005/cairomm/cairomm.rc.in: Removed #include "resource.h" diff --git a/cairomm/exception.cc b/cairomm/exception.cc index 87972ae..760606b 100644 --- a/cairomm/exception.cc +++ b/cairomm/exception.cc @@ -37,9 +37,9 @@ logic_error::logic_error(ErrorStatus status) logic_error::~logic_error() throw() {} -ErrorStatus logic_error::get_status() const +ErrorStatus logic_error::get_status_code() const { - return m_status; + return m_status; } /* diff --git a/cairomm/exception.h b/cairomm/exception.h index 65d4e37..ee91e3f 100644 --- a/cairomm/exception.h +++ b/cairomm/exception.h @@ -34,7 +34,7 @@ public: virtual ~logic_error() throw(); //virtual const char* what() const throw(); - ErrorStatus get_status() const; + ErrorStatus get_status_code() const; private: ErrorStatus m_status; |