diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-11 10:56:51 +0400 |
commit | 2d801f2bec3c4de663f33b0f0f198a12f09ef989 (patch) | |
tree | dfe16a3ca2213bd5b6579ed3bc2ac2902b678067 /source/blender/freestyle/intern/view_map/Interface0D.h | |
parent | 4a92d82626980d6d1690113b9d27aae282fd48eb (diff) |
Another big code clean-up patch from Bastien Montagne, thanks again!
Diffstat (limited to 'source/blender/freestyle/intern/view_map/Interface0D.h')
-rw-r--r-- | source/blender/freestyle/intern/view_map/Interface0D.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/view_map/Interface0D.h b/source/blender/freestyle/intern/view_map/Interface0D.h index bbf93deadb7..f7c814a63d8 100644 --- a/source/blender/freestyle/intern/view_map/Interface0D.h +++ b/source/blender/freestyle/intern/view_map/Interface0D.h @@ -133,7 +133,7 @@ public: } /*! Returns the FEdge that lies between this Interface0D and the Interface0D given as argument. */ - virtual FEdge* getFEdge(Interface0D&) + virtual FEdge *getFEdge(Interface0D&) { PyErr_SetString(PyExc_TypeError, "method getFEdge() not properly overridden"); return 0; @@ -162,7 +162,7 @@ public: } /*! Cast the Interface0D in ViewVertex if it can be. */ - virtual ViewVertex * castToViewVertex() + virtual ViewVertex *castToViewVertex() { PyErr_SetString(PyExc_TypeError, "method castToViewVertex() not properly overridden"); return 0; @@ -201,7 +201,7 @@ public: virtual Interface0D& operator*() = 0; - virtual Interface0D* operator->() + virtual Interface0D *operator->() { return &(operator*()); } @@ -227,7 +227,7 @@ public: /*! Returns the point parameter 0<u<1 */ virtual float u() const = 0; - virtual Interface0DIteratorNested* copy() const = 0; + virtual Interface0DIteratorNested *copy() const = 0; }; @@ -245,7 +245,7 @@ public: class Interface0DIterator : public Iterator { public: - Interface0DIterator(Interface0DIteratorNested* it = NULL) + Interface0DIterator(Interface0DIteratorNested *it = NULL) { _iterator = it; } @@ -270,7 +270,7 @@ public: */ Interface0DIterator& operator=(const Interface0DIterator& it) { - if(_iterator) + if (_iterator) delete _iterator; _iterator = it._iterator->copy(); return *this; |