Skip to content

Commit

Permalink
moving functions outside ns declaration
Browse files Browse the repository at this point in the history
functions are used across multiple namespaces - moving outside
msra::asr:: so as to avoid the need for decorating function calls
  • Loading branch information
Adalberto Foresti committed Oct 3, 2016
1 parent 220e163 commit 4091a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Readers/Kaldi2Reader/htkfeatio_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ inline std::string trimmed(std::string str)
return str;
}

} }

inline std::string removeExtension(std::string const &filename)
{
size_t lastindex = filename.find_first_of(".");
Expand All @@ -50,5 +52,3 @@ inline std::wstring removeExtension(std::wstring const &filename)
size_t lastindex = filename.find_first_of(L".");
return filename.substr(0, lastindex);
}

} }

0 comments on commit 4091a7c

Please sign in to comment.