summaryrefslogtreecommitdiff
path: root/sc/inc/reordermap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/reordermap.hxx')
-rw-r--r--sc/inc/reordermap.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/reordermap.hxx b/sc/inc/reordermap.hxx
index b7bb5d5ae1c9..3f3622085e85 100644
--- a/sc/inc/reordermap.hxx
+++ b/sc/inc/reordermap.hxx
@@ -24,12 +24,12 @@ public:
typedef DataType::const_iterator const_iterator;
typedef DataType::iterator iterator;
- const_iterator end() const;
+ const_iterator end() const { return maData.end(); }
- std::pair<iterator, bool>
- insert( DataType::value_type const& val );
+ template<class... Args>
+ std::pair<iterator,bool> emplace(Args&&... args) { return maData.emplace(std::forward<Args>(args)...); }
- const_iterator find( DataType::key_type key ) const;
+ const_iterator find( DataType::key_type key ) const { return maData.find(key); }
};
}