From 0bf3eea08ae83c9abcfbef722c51a994b3800bac Mon Sep 17 00:00:00 2001 From: Nikita Kolotov Date: Thu, 15 Aug 2019 00:35:34 +0300 Subject: [PATCH] Code enhancement: add std qualificator Fixed build failure caused by use of function std::make_pair without qualificator. Fix #6051, close #6052 --- PowerEditor/src/MISC/Common/Sorters.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PowerEditor/src/MISC/Common/Sorters.h b/PowerEditor/src/MISC/Common/Sorters.h index 85cbc1acb..b35e63421 100644 --- a/PowerEditor/src/MISC/Common/Sorters.h +++ b/PowerEditor/src/MISC/Common/Sorters.h @@ -30,6 +30,7 @@ #define NPP_SORTERS_H #include +#include // Base interface for line sorting. class ISorter @@ -289,7 +290,7 @@ public: { try { - nonEmptyInputAsNumbers.push_back(make_pair(lineIndex, convertStringToNumber(preparedLine))); + nonEmptyInputAsNumbers.push_back(std::make_pair(lineIndex, convertStringToNumber(preparedLine))); } catch (...) {