summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
Diffstat (limited to 'src/object')
-rw-r--r--src/object/sp-object.h4
-rw-r--r--src/object/sp-star.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/object/sp-object.h b/src/object/sp-object.h
index cffa28d2f..b5e59cec5 100644
--- a/src/object/sp-object.h
+++ b/src/object/sp-object.h
@@ -75,7 +75,7 @@ namespace Glib {
class ustring;
}
-typedef enum {
+enum SPExceptionType {
SP_NO_EXCEPTION,
SP_INDEX_SIZE_ERR,
SP_DOMSTRING_SIZE_ERR,
@@ -92,7 +92,7 @@ typedef enum {
SP_INVALID_MODIFICATION_ERR,
SP_NAMESPACE_ERR,
SP_INVALID_ACCESS_ERR
-} SPExceptionType;
+};
/// An attempt to implement exceptions, unused?
struct SPException {
diff --git a/src/object/sp-star.h b/src/object/sp-star.h
index 27f3557c9..6e767481d 100644
--- a/src/object/sp-star.h
+++ b/src/object/sp-star.h
@@ -20,10 +20,10 @@
#define SP_STAR(obj) (dynamic_cast<SPStar*>((SPObject*)obj))
#define SP_IS_STAR(obj) (dynamic_cast<const SPStar*>((SPObject*)obj) != NULL)
-typedef enum {
+enum SPStarPoint {
SP_STAR_POINT_KNOT1,
SP_STAR_POINT_KNOT2
-} SPStarPoint;
+};
class SPStar : public SPPolygon {
public: