diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 21:58:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-24 19:06:02 +0000 |
commit | b477a9e0b620a5e1c709e404c5a4e816ef5794f1 (patch) | |
tree | 05fc289fa7f15ce49431de0cc27922ff14e287c5 /include | |
parent | 86d32551c2249297d02884f20a107a20c8aabb03 (diff) |
Kill comphelper::MakeVector
Change-Id: I6525f9189b25f007d3ffd190b37c73552a900de2
Reviewed-on: https://gerrit.libreoffice.org/24341
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/InlineContainer.hxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/comphelper/InlineContainer.hxx b/include/comphelper/InlineContainer.hxx index 023bc43f817a..384203af9f6a 100644 --- a/include/comphelper/InlineContainer.hxx +++ b/include/comphelper/InlineContainer.hxx @@ -21,7 +21,6 @@ #include <com/sun/star/uno/Sequence.hxx> -#include <vector> #include <map> #include <set> @@ -54,28 +53,6 @@ public: }; -/** Creates a vector which contains an arbitrary number of elements. - - usage: - - vector< t > aVec( MakeVector< t >( t_1 )( t_2 )...( t_n ) ); - */ -template < typename T > -class MakeVector : public ::std::vector< T > -{ -public: - explicit MakeVector(const T &a) - : ::std::vector< T >(1, a) - { - } - MakeVector &operator()(const T &a) - { - this->push_back(a); - return *this; - } -}; - - /** Creates a set which contains an arbitrary number of elements. usage: |