From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- libcutl/exception.cxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libcutl/exception.cxx (limited to 'libcutl/exception.cxx') diff --git a/libcutl/exception.cxx b/libcutl/exception.cxx new file mode 100644 index 0000000..bbe8ba5 --- /dev/null +++ b/libcutl/exception.cxx @@ -0,0 +1,15 @@ +// file : libcutl/exception.cxx +// license : MIT; see accompanying LICENSE file + +#include + +#include + +namespace cutl +{ + char const* exception:: + what () const noexcept + { + return typeid (*this).name (); + } +} -- cgit v1.1