diff --git a/Source/Readers/Kaldi2Reader/htkfeatio_utils.h b/Source/Readers/Kaldi2Reader/htkfeatio_utils.h index b872a82ba..b8026292f 100644 --- a/Source/Readers/Kaldi2Reader/htkfeatio_utils.h +++ b/Source/Readers/Kaldi2Reader/htkfeatio_utils.h @@ -54,7 +54,7 @@ inline std::string basename(std::string const &pathname) return std::string(std::find_if(pathname.rbegin(), pathname.rend(), MatchPathSeparator()).base(), pathname.end()); } -static inline std::wstring basename(std::wstring const &pathname) +inline std::wstring basename(std::wstring const &pathname) { return std::wstring(std::find_if(pathname.rbegin(), pathname.rend(), MatchPathSeparator()).base(), pathname.end()); }