From 5afe88df2538274859a162ffd63ed52118e80c19 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 26 Jan 2024 16:07:54 +0100 Subject: Apply C++11 fixits modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using --- src/position.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/position.cpp') diff --git a/src/position.cpp b/src/position.cpp index f41f2c4f..64cf2225 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -29,7 +29,7 @@ std::ostream& operator <<(std::ostream &os, const Position &p) std::ostream& operator <<(std::ostream &os, const Path &path) { - Path::const_iterator i = path.begin(), i_end = path.end(); + auto i = path.begin(), i_end = path.end(); os << "("; while (i != i_end) -- cgit v1.2.3-70-g09d2