Lars Gullik Bj�nnes wrote: > Just for your enjoyment.
I'm all for it. However, I'd rather you operated on the filename
itself rather than convert it to a string
- if (OnlyFilename(cit->first) == filename) {
+ if (fs::path(cit->first).leaf() == filename) {
Nonetheless, as this looks like a drop-in replacement for what we have
now (neither better nor worse) why not drop-it in. It will make life
easier should someone grasp the bull by the horns and try and clean
this stuff up properly.
--
Angus
