diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 13:44:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-09 13:44:33 +0300 |
commit | a15e63153760d8ea8c6ccf45d82a8c740d4941e0 (patch) | |
tree | a8b216a467f02ab995d8771447c4359cb23f91f4 | |
parent | 0e9be6fd7d5eeddc329d5b75d5b89ce5d79c236e (diff) |
Cycles: Cleanup, remove unneeded manual constructors specification
-rw-r--r-- | intern/cycles/util/util_vector.h | 16 |
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) { |