From fb9e0c4602276e2708ceae36a1f8fe6e99ee4626 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 2 Mar 2025 22:24:04 +0100 Subject: [PATCH] Fixed a compile issue --- src/db/db/dbEdgePairs.h | 2 +- src/db/db/dbEdges.h | 2 +- src/db/db/dbRegion.h | 2 +- src/db/db/dbTexts.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/db/db/dbEdgePairs.h b/src/db/db/dbEdgePairs.h index 36b8960f8..691140cb6 100644 --- a/src/db/db/dbEdgePairs.h +++ b/src/db/db/dbEdgePairs.h @@ -355,7 +355,7 @@ public: std::pair split_filter (const EdgePairFilterBase &filter) const { std::pair p = mp_delegate->filtered_pair (filter); - return std::pair (EdgePairs (p.first), EdgePairs (p.second)); + return std::make_pair (EdgePairs (p.first), EdgePairs (p.second)); } /** diff --git a/src/db/db/dbEdges.h b/src/db/db/dbEdges.h index bb57ada29..5469cb649 100644 --- a/src/db/db/dbEdges.h +++ b/src/db/db/dbEdges.h @@ -477,7 +477,7 @@ public: std::pair split_filter (const EdgeFilterBase &filter) const { std::pair p = mp_delegate->filtered_pair (filter); - return std::pair (Edges (p.first), Edges (p.second)); + return std::make_pair (Edges (p.first), Edges (p.second)); } /** diff --git a/src/db/db/dbRegion.h b/src/db/db/dbRegion.h index 893931949..1548c65ab 100644 --- a/src/db/db/dbRegion.h +++ b/src/db/db/dbRegion.h @@ -581,7 +581,7 @@ public: std::pair split_filter (const PolygonFilterBase &filter) const { std::pair p = mp_delegate->filtered_pair (filter); - return std::pair (Region (p.first), Region (p.second)); + return std::make_pair (Region (p.first), Region (p.second)); } /** diff --git a/src/db/db/dbTexts.h b/src/db/db/dbTexts.h index 03594f1fd..283538d24 100644 --- a/src/db/db/dbTexts.h +++ b/src/db/db/dbTexts.h @@ -342,7 +342,7 @@ public: std::pair split_filter (const TextFilterBase &filter) const { std::pair p = mp_delegate->filtered_pair (filter); - return std::pair (Texts (p.first), Texts (p.second)); + return std::make_pair (Texts (p.first), Texts (p.second)); } /**