Portability fixes.

committer: mfx <mfx> 1043693750 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-27 18:55:50 +00:00
parent a282171318
commit fd525ae7df
4 changed files with 26 additions and 34 deletions
+3 -8
View File
@@ -35,7 +35,7 @@
long Throwable::counter = 0;
Throwable::Throwable(const char *m, int e, bool w)
Throwable::Throwable(const char *m, int e, bool w) NOTHROW
: super(), msg(NULL), err(e), is_warning(w)
{
if (m)
@@ -47,7 +47,7 @@ Throwable::Throwable(const char *m, int e, bool w)
}
Throwable::Throwable(const Throwable &other)
Throwable::Throwable(const Throwable &other) NOTHROW
: super(other), msg(NULL), err(other.err), is_warning(other.is_warning)
{
if (other.msg)
@@ -174,7 +174,7 @@ void throwEOFException(const char *msg, int e)
//
**************************************************************************/
const char *prettyName(const char *n)
const char *prettyName(const char *n) NOTHROW
{
if (n == NULL)
return "(null)";
@@ -192,11 +192,6 @@ const char *prettyName(const char *n)
return n;
}
const char *prettyName(const std::type_info &ti)
{
return prettyName(ti.name());
}
/*
vi:ts=4:et