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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-09 13:44:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-09 13:44:33 +0300
commita15e63153760d8ea8c6ccf45d82a8c740d4941e0 (patch)
treea8b216a467f02ab995d8771447c4359cb23f91f4 /intern
parent0e9be6fd7d5eeddc329d5b75d5b89ce5d79c236e (diff)
Cycles: Cleanup, remove unneeded manual constructors specification
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/util/util_vector.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/intern/cycles/util/util_vector.h b/intern/cycles/util/util_vector.h
index df576f710a9..0df490a5ef4 100644
--- a/intern/cycles/util/util_vector.h
+++ b/intern/cycles/util/util_vector.h
@@ -43,20 +43,8 @@ class vector : public std::vector<value_type, allocator_type>
public:
typedef std::vector<value_type, allocator_type> BaseClass;
- /* Default constructor. */
- explicit vector() : std::vector<value_type, allocator_type>() { }
-
- /* Fill constructor. */
- explicit vector(size_t n, const value_type& val = value_type())
- : std::vector<value_type, allocator_type>(n, val) { }
-
- /* Range constructor. */
- template <class InputIterator>
- vector(InputIterator first, InputIterator last)
- : std::vector<value_type, allocator_type>(first, last) { }
-
- /* Copy constructor. */
- vector(const vector &x) : std::vector<value_type, allocator_type>(x) { }
+ /* Inherit all constructors from base class. */
+ using BaseClass::vector;
void free_memory(void)
{