diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2011-09-09 18:40:59 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2011-09-09 18:40:59 +0000 |
| commit | 3caf96211085254ab3c42a59ce2c80a4ade3d2d8 (patch) | |
| tree | c795d6e6b39f8f9bbf4422ede5d1bc20fd277f4b /src/exception.cc | |
| parent | 0676eaec5cc56bf14b7791f5a2ef5485a7a43370 (diff) | |
exception: refactoring
Diffstat (limited to 'src/exception.cc')
| -rw-r--r-- | src/exception.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/exception.cc b/src/exception.cc new file mode 100644 index 00000000..0d816062 --- /dev/null +++ b/src/exception.cc @@ -0,0 +1,14 @@ +#include "exception.hh" + +#include <string> +#include <typeinfo> + +namespace Kakoune +{ + +std::string exception::description() const +{ + return typeid(*this).name(); +} + +} |
