summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-25 16:37:20 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-25 16:37:20 -0500
commit77c5a659cd2d1aeee8fcadf073a7a549943f9e50 (patch)
treea508015f4d25dd5ad959f77730a407d44c9a8c5d
parent0465af113532684c4c0e9d72bb7d21454495bdba (diff)
downloadmongo-77c5a659cd2d1aeee8fcadf073a7a549943f9e50.tar.gz
Revert "try to fix windows"
This reverts commit ab640c98350e81e3e36e48a97bf5c1d83f9af339.
-rw-r--r--src/mongo/util/text.cpp3
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)