diff options
author | Slávek Banko <[email protected]> | 2024-04-14 18:23:45 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-04-14 18:23:45 +0200 |
commit | 03cf41d9b015fab3d30f98b50923d0c296fa9824 (patch) | |
tree | 923c5dce95eba0c7032b474b9f2d2ab3188333d5 /kghostview/kgvdocument.cpp | |
parent | 08bb3071d07ffb22eadc45a7c24aa337a7e859f3 (diff) | |
download | tdegraphics-03cf41d9b015fab3d30f98b50923d0c296fa9824.tar.gz tdegraphics-03cf41d9b015fab3d30f98b50923d0c296fa9824.zip |
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kghostview/kgvdocument.cpp')
-rw-r--r-- | kghostview/kgvdocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kghostview/kgvdocument.cpp b/kghostview/kgvdocument.cpp index c08b68f1..ec70944d 100644 --- a/kghostview/kgvdocument.cpp +++ b/kghostview/kgvdocument.cpp @@ -618,7 +618,7 @@ bool KGVDocument::savePages( const TQString& saveFileName, PageList normedPageList; transform( pageList.begin(), pageList.end(), back_inserter( normedPageList ), - bind2nd( minus<int>(), minPage - 1 ) ); + bind( minus<int>(), std::placeholders::_1, minPage - 1 ) ); // Finally select the desired pages from the converted file. psCopyDoc( psSaveFile.name(), saveFileName, normedPageList ); |