Skip to content

Commit

Permalink
work on NCFileUtilsWin.cc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Nov 1, 2024
1 parent 318340e commit ed9ffb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncrystal_core/src/NCFileUtilsWin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace NCRYSTAL_NAMESPACE {
{
NCRYSTAL_MSG("TKTEST ncglob(pat="<<pattern_utf8<<")");
auto wpattern = winimpl_str2wstr( pattern_utf8 );
NCRYSTAL_MSG("TKTEST ncglob(wpat="<<pattern_utf8<<")");
NCRYSTAL_MSG("TKTEST ncglob(wpat.size="<<wpattern.size()<<")");
VectS result;
WIN32_FIND_DATAW fdata;
HANDLE fh = FindFirstFileW(wpattern.c_str(), &fdata);
Expand All @@ -180,7 +180,7 @@ namespace NCRYSTAL_NAMESPACE {
}
while (true) {
std::wstring hitw( fdata.cFileName );
NCRYSTAL_MSG("TKTEST hitw=>>"<<hitw<<"<<");
NCRYSTAL_MSG("TKTEST hitw.size=>>"<<hitw.size()<<"<<");
std::string hit_utf8 = winimpl_wstr2str( hitw );
NCRYSTAL_MSG("TKTEST hit_utf8=>>"<<hit_utf8<<"<<");
result.push_back(hit_utf8);
Expand Down

0 comments on commit ed9ffb2

Please sign in to comment.