Skip to content

Commit

Permalink
make strerror static
Browse files Browse the repository at this point in the history
  • Loading branch information
mateidavid committed Mar 31, 2017
1 parent f82f936 commit 6811097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strict_fstream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace strict_fstream

/// Overload of error-reporting function, to enable use with VS.
/// Ref: http://stackoverflow.com/a/901316/717706
std::string strerror()
static std::string strerror()
{
std::string buff(80, '\0');
#ifdef _WIN32
Expand Down

0 comments on commit 6811097

Please sign in to comment.