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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-17 23:08:34 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-18 00:41:45 +0300
commit9dc5367c89f467e516620b6ff15e2eb35b26fdee (patch)
tree8bb96662721090de6d1efc84c6f4ae0d883d8fa6 /intern/cycles/util
parent2630207adae47181a7412786b9e18b428999228b (diff)
Cleanup code style inconsistency in last commits.
Diffstat (limited to 'intern/cycles/util')
-rw-r--r--intern/cycles/util/util_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h
index 292a3ac610c..a8a1c4cf59d 100644
--- a/intern/cycles/util/util_vector.h
+++ b/intern/cycles/util/util_vector.h
@@ -164,7 +164,7 @@ public:
bool operator==(const vector<T>& other)
{
- if (datasize_ != other.datasize_)
+ if(datasize_ != other.datasize_)
return false;
return memcmp(data_, other.data_, datasize_*sizeof(T)) == 0;
@@ -172,7 +172,7 @@ public:
void steal_data(array& from)
{
- if (this != &from)
+ if(this != &from)
{
clear();
@@ -256,7 +256,7 @@ public:
// do not use this method unless you are sure the code is not performance critical
void push_back_slow(const T& t)
{
- if (capacity_ == datasize_)
+ if(capacity_ == datasize_)
{
reserve(datasize_ == 0 ? 1 : (size_t)((datasize_ + 1) * 1.2));
}