summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClient.cpp')
-rwxr-xr-xcpp/demo/IcePatch2/MFC/PatchClient.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClient.cpp b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
index 66abeb27f8c..4f982cff642 100755
--- a/cpp/demo/IcePatch2/MFC/PatchClient.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
@@ -19,6 +19,8 @@ BEGIN_MESSAGE_MAP(CPatchClientApp, CWinApp)
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
+using namespace std;
+
CPatchClientApp::CPatchClientApp()
{
// Place all significant initialization in InitInstance
@@ -48,9 +50,9 @@ CPatchClientApp::InitInstance()
}
catch(const IceUtil::Exception& ex)
{
- std::ostringstream ostr;
+ ostringstream ostr;
ostr << ex;
- std::string s = ostr.str();
+ string s = ostr.str();
AfxMessageBox(CString(s.c_str()), MB_OK|MB_ICONEXCLAMATION);
return FALSE;
}