diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 16:37:20 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 16:37:20 -0500 |
commit | 77c5a659cd2d1aeee8fcadf073a7a549943f9e50 (patch) | |
tree | a508015f4d25dd5ad959f77730a407d44c9a8c5d /src/mongo | |
parent | 0465af113532684c4c0e9d72bb7d21454495bdba (diff) | |
download | mongo-77c5a659cd2d1aeee8fcadf073a7a549943f9e50.tar.gz |
Revert "try to fix windows"
This reverts commit ab640c98350e81e3e36e48a97bf5c1d83f9af339.
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/util/text.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/text.cpp b/src/mongo/util/text.cpp index 9fb8f93cc25..ca0e89dcef4 100644 --- a/src/mongo/util/text.cpp +++ b/src/mongo/util/text.cpp @@ -93,7 +93,8 @@ namespace mongo { } } - msgasserted( 16062 , str::stream() << "can't wstring to utf8: " << ::GetLastError() ); + throw boost::system::system_error( + ::GetLastError(), boost::system::system_category); } #if defined(_UNICODE) |