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/path.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/path.h')
| -rw-r--r-- | src/2geom/path.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h index 053bc06c9..988babe3e 100644 --- a/src/2geom/path.h +++ b/src/2geom/path.h @@ -33,8 +33,7 @@ #include "point.h" #include <iterator> #include <algorithm> -#include <exception> -#include <stdexcept> +#include "exception.h" #include "d2.h" #include "matrix.h" #include "bezier.h" @@ -411,12 +410,6 @@ private: Iterator impl_; }; -class ContinuityError : public std::runtime_error { -public: - ContinuityError() : runtime_error("non-contiguous path") {} - ContinuityError(std::string const &message) : runtime_error(message) {} -}; - class Path { private: typedef std::vector<Curve *> Sequence; |
