mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 23:34:44 +02:00
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:
parent
e74cb34e22
commit
0bf3eea08a
@ -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 (...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user