summaryrefslogtreecommitdiff
path: root/zen/stl_tools.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-12-27 08:28:17 -0500
committerB Stack <bgstack15@gmail.com>2019-12-27 08:28:17 -0500
commite6e1a42e1e84d7a24c79295d01aa8b1844d64c6b (patch)
treecf344e045d5ebdffe0afc35f2de68b8908857808 /zen/stl_tools.h
parentMerge branch '10.18' into 'master' (diff)
downloadFreeFileSync-e6e1a42e1e84d7a24c79295d01aa8b1844d64c6b.tar.gz
FreeFileSync-e6e1a42e1e84d7a24c79295d01aa8b1844d64c6b.tar.bz2
FreeFileSync-e6e1a42e1e84d7a24c79295d01aa8b1844d64c6b.zip
add upstream 10.19
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r--zen/stl_tools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/stl_tools.h b/zen/stl_tools.h
index d09010ad..8856ce84 100644
--- a/zen/stl_tools.h
+++ b/zen/stl_tools.h
@@ -96,7 +96,7 @@ public:
/**/ T& ref() { return *ref_; };
const T& ref() const { return *ref_; };
- std::shared_ptr< T> ptr() { return ref_; };
+ std::shared_ptr< T> ptr() { return ref_; };
std::shared_ptr<const T> ptr() const { return ref_; };
private:
@@ -207,9 +207,9 @@ BidirectionalIterator1 searchLast(const BidirectionalIterator1 first1, Bid
//http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0458r2.html
template <class Container, class ValueType, typename = std::enable_if_t<!IsStringLikeV<Container>>> inline
-bool contains(const Container& c, const ValueType& val, int dummy = 0 /*overload string_tools.h contains()*/)
+ bool contains(const Container& c, const ValueType& val, int dummy = 0 /*overload string_tools.h contains()*/)
{
- return c.find(val) != c.end();
+ return c.find(val) != c.end();
}
//---------------------------------------------------------------------------------------
bgstack15