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
54
54
src /demo /searchfiles /msvc /Release Static
55
55
src /demo /searchfiles /msvc /Debug DLL
56
56
src /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 90
90
// Make internal bitset storage public
91
91
#define BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS
92
92
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
95
94
96
95
#endif
Original file line number Diff line number Diff line change @@ -164,10 +164,10 @@ namespace Lucene
164
164
{
165
165
try
166
166
{
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)
168
168
{
169
169
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 ());
171
171
}
172
172
return true ;
173
173
}
@@ -202,9 +202,9 @@ namespace Lucene
202
202
{
203
203
try
204
204
{
205
- boost::filesystem::wpath join (path.c_str ());
205
+ boost::filesystem::path join (path.c_str ());
206
206
join /= file.c_str ();
207
- return join.directory_string ().c_str ();
207
+ return join.wstring ().c_str ();
208
208
}
209
209
catch (...)
210
210
{
@@ -217,7 +217,7 @@ namespace Lucene
217
217
try
218
218
{
219
219
boost::filesystem::wpath parentPath (path.c_str ());
220
- return parentPath.parent_path ().directory_string ().c_str ();
220
+ return parentPath.parent_path ().wstring ().c_str ();
221
221
}
222
222
catch (...)
223
223
{
@@ -230,7 +230,7 @@ namespace Lucene
230
230
try
231
231
{
232
232
boost::filesystem::wpath fileName (path.c_str ());
233
- return fileName.filename ().c_str ();
233
+ return fileName.filename ().wstring (). c_str ();
234
234
}
235
235
catch (...)
236
236
{
You can’t perform that action at this time.
0 commit comments