Removed tools/str_exception (now part of Mangle)
parent
a02c398143
commit
1779dc1f7c
@ -1 +1 @@
|
||||
Subproject commit 5e70bc7bd768b9fb6016c02656841d199cbb3759
|
||||
Subproject commit 86089816a7532724e4d8ab464a60229b1177b23a
|
@ -1,19 +0,0 @@
|
||||
#ifndef __STR_EXCEPTION_H
|
||||
#define __STR_EXCEPTION_H
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
/// A simple exception that takes and returns a string
|
||||
class str_exception : public std::exception
|
||||
{
|
||||
std::string msg;
|
||||
|
||||
public:
|
||||
|
||||
str_exception(const std::string &m) : msg(m) {}
|
||||
~str_exception() throw() {}
|
||||
const char* what() const throw() { return msg.c_str(); }
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue