summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-22 22:25:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-25 06:11:10 +0000
commit2b68383e44338ffc3d5fb519fd91ff31f0a2b35a (patch)
tree003fc7072b94cf00a84dac9fd48b68bc1e91f5dc /include
parentd848960a3e77a8608a48f3ba394928c955f1e2d9 (diff)
Kill comphelper::MakeSet
Change-Id: I2e5f8c2cd67406d9d275960a37c4aa45e283eec3 Reviewed-on: https://gerrit.libreoffice.org/24343 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/InlineContainer.hxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/comphelper/InlineContainer.hxx b/include/comphelper/InlineContainer.hxx
index d5c3e108896c..1c2aa7dbeaf8 100644
--- a/include/comphelper/InlineContainer.hxx
+++ b/include/comphelper/InlineContainer.hxx
@@ -20,34 +20,10 @@
#define INCLUDED_COMPHELPER_INLINECONTAINER_HXX
#include <map>
-#include <set>
namespace comphelper
{
-/** Creates a set which contains an arbitrary number of elements.
-
- usage:
-
- set< t > aSet( MakeSet< t >( t_1 )( t_2 )...( t_n ) );
- */
-template < typename T >
-class MakeSet : public ::std::set< T >
-{
-public:
- explicit MakeSet(const T &a)
- : ::std::set< T >()
- {
- this->insert(this->end(), a);
- }
- MakeSet &operator()(const T &a)
- {
- this->insert(this->end(), a);
- return *this;
- }
-};
-
-
/** usage:
map< k, v > aMap( MakeMap< k, v >