Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/ATL_Deprecate.cpp

Issue 5491870822039552: Issue #1234 - Remove old versions of ToWstring and ToCString (Closed)
Patch Set: Created Jan. 13, 2015, 3:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/ATL_Deprecate.cpp
===================================================================
--- a/src/plugin/ATL_Deprecate.cpp
+++ b/src/plugin/ATL_Deprecate.cpp
@@ -6,21 +6,11 @@
std::wstring ToWstring(const ATL::CString& s)
{
- std::wstring result(static_cast<const wchar_t *>(s));
+ std::wstring result(static_cast<const wchar_t*>(s));
return result;
}
-std::wstring to_wstring(const ATL::CString& s)
-{
- return ToWstring(s);
-}
-
ATL::CString ToCString(const std::wstring& s)
{
return ATL::CString(s.c_str());
}
-
-ATL::CString to_CString(const std::wstring& s)
-{
- return ToCString(s);
-}
« no previous file with comments | « no previous file | src/plugin/AdblockPlusClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld