]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/filesystem/example/tut3.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / filesystem / example / tut3.cpp
index b090fc2066041dae73c9f2fe2b056370a3a585f7..f930e1018cb3e15a0e29a1844840f5f95b99d8fe 100644 (file)
@@ -33,7 +33,7 @@ int main(int argc, char* argv[])
       {
         cout << p << " is a directory containing:\n";
 
-        for (directory_entry& x : directory_iterator(p))
+        for (const directory_entry& x : directory_iterator(p))
           cout << "    " << x.path() << '\n'; 
       }
       else