am b67462ba: am 7c639089: Merge "Fixed variable declaration with empty parentheses."
* commit 'b67462baf584a595239b723d861a4eb0be67a4c3':
Fixed variable declaration with empty parentheses.
diff --git a/apps/CtsVerifier/include/colorchecker/vec2.h b/apps/CtsVerifier/include/colorchecker/vec2.h
index 9de614c..e58255d 100644
--- a/apps/CtsVerifier/include/colorchecker/vec2.h
+++ b/apps/CtsVerifier/include/colorchecker/vec2.h
@@ -41,12 +41,9 @@
}
inline Vec2<float> operator/ (const int param) const {
- Vec2<float> temp();
assert(param != 0);
- temp.set(static_cast<float>(mX) / static_cast<float>(param),
- static_cast<float>(mY) / static_cast<float>(param));
-
- return temp;
+ return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param),
+ static_cast<float>(mY) / static_cast<float>(param));
}
template <class U>