Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/freestyle/intern/system/Iterator.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/freestyle/intern/system/Iterator.h')
-rw-r--r--source/blender/freestyle/intern/system/Iterator.h63
1 files changed, 32 insertions, 31 deletions
diff --git a/source/blender/freestyle/intern/system/Iterator.h b/source/blender/freestyle/intern/system/Iterator.h
index c38dc09fd2e..75d49521f96 100644
--- a/source/blender/freestyle/intern/system/Iterator.h
+++ b/source/blender/freestyle/intern/system/Iterator.h
@@ -25,52 +25,53 @@
#include <string>
#ifdef WITH_CXX_GUARDEDALLOC
-#include "MEM_guardedalloc.h"
+# include "MEM_guardedalloc.h"
#endif
using namespace std;
namespace Freestyle {
-class Iterator
-{
-public:
- virtual ~Iterator() {}
+class Iterator {
+ public:
+ virtual ~Iterator()
+ {
+ }
- virtual string getExactTypeName() const
- {
- return "Iterator";
- }
+ virtual string getExactTypeName() const
+ {
+ return "Iterator";
+ }
- virtual int increment()
- {
- cerr << "Warning: increment() not implemented" << endl;
- return 0;
- }
+ virtual int increment()
+ {
+ cerr << "Warning: increment() not implemented" << endl;
+ return 0;
+ }
- virtual int decrement()
- {
- cerr << "Warning: decrement() not implemented" << endl;
- return 0;
- }
+ virtual int decrement()
+ {
+ cerr << "Warning: decrement() not implemented" << endl;
+ return 0;
+ }
- virtual bool isBegin() const
- {
- cerr << "Warning: isBegin() not implemented" << endl;
- return false;
- }
+ virtual bool isBegin() const
+ {
+ cerr << "Warning: isBegin() not implemented" << endl;
+ return false;
+ }
- virtual bool isEnd() const
- {
- cerr << "Warning: isEnd() not implemented" << endl;
- return false;
- }
+ virtual bool isEnd() const
+ {
+ cerr << "Warning: isEnd() not implemented" << endl;
+ return false;
+ }
#ifdef WITH_CXX_GUARDEDALLOC
- MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Iterator")
+ MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:Iterator")
#endif
};
} /* namespace Freestyle */
-#endif // __FREESTYLE_ITERATOR_H__
+#endif // __FREESTYLE_ITERATOR_H__