Code enhancement: add std qualificator

Fixed build failure caused by use of function std::make_pair without qualificator.

Fix #6051, close #6052
This commit is contained in:
Nikita Kolotov 2019-08-15 00:35:34 +03:00 committed by Don HO
parent e74cb34e22
commit 0bf3eea08a
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -30,6 +30,7 @@
#define NPP_SORTERS_H #define NPP_SORTERS_H
#include <algorithm> #include <algorithm>
#include <utility>
// Base interface for line sorting. // Base interface for line sorting.
class ISorter class ISorter
@ -289,7 +290,7 @@ public:
{ {
try try
{ {
nonEmptyInputAsNumbers.push_back(make_pair(lineIndex, convertStringToNumber(preparedLine))); nonEmptyInputAsNumbers.push_back(std::make_pair(lineIndex, convertStringToNumber(preparedLine)));
} }
catch (...) catch (...)
{ {