diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-08-02 03:13:37 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-08-02 03:13:37 +0000 |
commit | 78523e974dcd352ceea87821dd3409b6b99902df (patch) | |
tree | 7b2c9a00859052f228b769791c206e7484ae648c /graphics/inkscape | |
parent | 1fb72910425c88790898664ef801bdaa99f12535 (diff) |
Notes
Diffstat (limited to 'graphics/inkscape')
-rw-r--r-- | graphics/inkscape/files/patch-src::libnr::nr-maybe.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/inkscape/files/patch-src::libnr::nr-maybe.h b/graphics/inkscape/files/patch-src::libnr::nr-maybe.h new file mode 100644 index 000000000000..d7ce3dba1a30 --- /dev/null +++ b/graphics/inkscape/files/patch-src::libnr::nr-maybe.h @@ -0,0 +1,18 @@ +--- src/libnr/nr-maybe.h.orig Mon Aug 2 11:58:44 2004 ++++ src/libnr/nr-maybe.h Mon Aug 2 11:59:21 2004 +@@ -18,13 +18,14 @@ + + #include <stdexcept> + #include <typeinfo> ++#include <string> + + namespace NR { + + /** An exception class for run-time type errors */ + template <typename T> + class IsNot : public std::domain_error { +- IsNot() : domain_error(string("Is not ") + typeid(T).name()) {} ++ IsNot() : domain_error(std::string("Is not ") + typeid(T).name()) {} + }; + + /** A type with only one value, which (in principle) is only equal to itself. |