diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-17 23:06:41 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-17 23:06:41 +0000 |
| commit | bd06562677b313a9a4dc1706c63655bbaef0e681 (patch) | |
| tree | fb1f84c776797767b4c608becfa4c36b5f14fd82 /src/2geom/svg-path-parser.h | |
| parent | fix compile warning with C++ style cast (diff) | |
| download | inkscape-bd06562677b313a9a4dc1706c63655bbaef0e681.tar.gz inkscape-bd06562677b313a9a4dc1706c63655bbaef0e681.zip | |
2geom: splice exceptions code from utils.h into exception.h
(bzr r4097)
Diffstat (limited to 'src/2geom/svg-path-parser.h')
| -rw-r--r-- | src/2geom/svg-path-parser.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/2geom/svg-path-parser.h b/src/2geom/svg-path-parser.h index 4017df458..98a885361 100644 --- a/src/2geom/svg-path-parser.h +++ b/src/2geom/svg-path-parser.h @@ -34,16 +34,13 @@ #include <vector> #include <iterator> -#include <exception> +#include <stdexcept> +#include "exception.h" #include "point.h" #include "svg-path.h" namespace Geom { -struct SVGPathParseError : public std::exception { - char const *what() const throw() { return "parse error"; } -}; - void parse_svg_path(char const *str, SVGPathSink &sink) throw(SVGPathParseError); inline std::vector<Path> parse_svg_path(char const *str) throw(SVGPathParseError) { |
