dbaccess/source/ui/inc/dsmeta.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit eb27a774594d0ce1cd520cbd579b8da468b86c77 Author: Simon Chenery <[email protected]> AuthorDate: Thu Jun 12 22:00:50 2025 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Fri Jun 13 18:52:11 2025 +0200 tdf#158237 Use C++20 contains() instead of find(), end() in dsmeta.hxx Change-Id: Id3c313275b13415495dbf10c6704a601ddbd40f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186435 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/dbaccess/source/ui/inc/dsmeta.hxx b/dbaccess/source/ui/inc/dsmeta.hxx index 0c8646a53cbd..091426809e86 100644 --- a/dbaccess/source/ui/inc/dsmeta.hxx +++ b/dbaccess/source/ui/inc/dsmeta.hxx @@ -79,7 +79,7 @@ namespace dbaui FeatureSet() { } void put( const ItemID _id ) { m_aContent.insert( _id ); } - bool has( const ItemID _id ) const { return m_aContent.find( _id ) != m_aContent.end(); } + bool has( const ItemID _id ) const { return m_aContent.contains( _id ); } inline bool supportsAnySpecialSetting() const; inline bool supportsGeneratedValues() const;
