File tree Expand file tree Collapse file tree 3 files changed +34
-8
lines changed Expand file tree Collapse file tree 3 files changed +34
-8
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,30 @@ src/demo/searchfiles/msvc/Release DLL
5454src /demo /searchfiles /msvc /Release Static
5555src /demo /searchfiles /msvc /Debug DLL
5656src /demo /searchfiles /msvc /Debug Static
57+ CMakeCache.txt
58+ CMakeFiles /
59+ CTestTestfile.cmake
60+ Makefile
61+ cmake_install.cmake
62+ cmake_uninstall.cmake
63+ include /Config.h
64+ install_manifest.txt
65+ liblucene++-contrib.pc
66+ liblucene++.pc
67+ src /contrib /CMakeFiles /
68+ src /contrib /CTestTestfile.cmake
69+ src /contrib /Makefile
70+ src /contrib /cmake_install.cmake
71+ src /core /CMakeFiles /
72+ src /core /CTestTestfile.cmake
73+ src /core /Makefile
74+ src /core /cmake_install.cmake
75+ src /demo /CMakeFiles /
76+ src /demo /CTestTestfile.cmake
77+ src /demo /Makefile
78+ src /demo /cmake_install.cmake
79+ src /test /CMakeFiles /
80+ src /test /CTestTestfile.cmake
81+ src /test /Makefile
82+ src /test /cmake_install.cmake
83+
Original file line number Diff line number Diff line change 9090// Make internal bitset storage public
9191#define BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS
9292
93- // Force boost file-system version 2 for later boost versions > 1.46
94- #define BOOST_FILESYSTEM_VERSION 2
93+ #define BOOST_FILESYSTEM_VERSION 3
9594
9695#endif
Original file line number Diff line number Diff line change @@ -164,10 +164,10 @@ namespace Lucene
164164 {
165165 try
166166 {
167- for (boost::filesystem::wdirectory_iterator dir (path.c_str ()); dir != boost::filesystem::wdirectory_iterator (); ++dir)
167+ for (boost::filesystem::directory_iterator dir (path.c_str ()); dir != boost::filesystem::directory_iterator (); ++dir)
168168 {
169169 if (!filesOnly || !boost::filesystem::is_directory (dir->status ()))
170- dirList.add (dir->path ().filename ().c_str ());
170+ dirList.add (dir->path ().filename ().wstring (). c_str ());
171171 }
172172 return true ;
173173 }
@@ -202,9 +202,9 @@ namespace Lucene
202202 {
203203 try
204204 {
205- boost::filesystem::wpath join (path.c_str ());
205+ boost::filesystem::path join (path.c_str ());
206206 join /= file.c_str ();
207- return join.directory_string ().c_str ();
207+ return join.wstring ().c_str ();
208208 }
209209 catch (...)
210210 {
@@ -217,7 +217,7 @@ namespace Lucene
217217 try
218218 {
219219 boost::filesystem::wpath parentPath (path.c_str ());
220- return parentPath.parent_path ().directory_string ().c_str ();
220+ return parentPath.parent_path ().wstring ().c_str ();
221221 }
222222 catch (...)
223223 {
@@ -230,7 +230,7 @@ namespace Lucene
230230 try
231231 {
232232 boost::filesystem::wpath fileName (path.c_str ());
233- return fileName.filename ().c_str ();
233+ return fileName.filename ().wstring (). c_str ();
234234 }
235235 catch (...)
236236 {
You can’t perform that action at this time.
0 commit comments