[Bf-blender-cvs] [d9ef528] master: Cycles: Minor code style cleanup, whitesaces

Sergey Sharybin noreply at git.blender.org
Sun Jun 28 18:15:37 CEST 2015


Commit: d9ef528d0518fcb69da4a06c80e9f4f6c2202f79
Author: Sergey Sharybin
Date:   Sun Jun 28 10:51:49 2015 +0200
Branches: master
https://developer.blender.org/rBd9ef528d0518fcb69da4a06c80e9f4f6c2202f79

Cycles: Minor code style cleanup, whitesaces

===================================================================

M	intern/cycles/util/util_guarded_allocator.h
M	intern/cycles/util/util_vector.h

===================================================================

diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h
index 14a680c..2df7172 100644
--- a/intern/cycles/util/util_guarded_allocator.h
+++ b/intern/cycles/util/util_guarded_allocator.h
@@ -42,7 +42,7 @@ void util_guarded_mem_free(size_t n);
 
 /* Guarded allocator for the use with STL. */
 template <typename T>
-class GuardedAllocator: public std::allocator<T> {
+class GuardedAllocator : public std::allocator<T> {
 public:
 	template<typename _Tp1>
 	struct rebind {
diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h
index af7c69c..6f718b1 100644
--- a/intern/cycles/util/util_vector.h
+++ b/intern/cycles/util/util_vector.h
@@ -59,7 +59,7 @@ public:
 
 	/* Range constructor. */
 	template <class InputIterator>
-	vector (InputIterator first, InputIterator last)
+	vector(InputIterator first, InputIterator last)
 		: std::vector<value_type, allocator_type>(first, last) {  }
 
 	/* Copy constructor. */




More information about the Bf-blender-cvs mailing list