diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h index 14a680cf01c..2df717253e3 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 -class GuardedAllocator: public std::allocator { +class GuardedAllocator : public std::allocator { public: template struct rebind { diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h index af7c69c7df9..6f718b1eaf2 100644 --- a/intern/cycles/util/util_vector.h +++ b/intern/cycles/util/util_vector.h @@ -59,7 +59,7 @@ public: /* Range constructor. */ template - vector (InputIterator first, InputIterator last) + vector(InputIterator first, InputIterator last) : std::vector(first, last) { } /* Copy constructor. */