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

Side by Side Diff: src/plugin/ATL_Deprecate.cpp

Issue 5070706781978624: Issue #276 - introduce class BSTR_Argument (Closed)
Patch Set: Created July 29, 2014, 4:58 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/ATL_Deprecate.h ('k') | src/plugin/AdblockPlusDomTraverser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /**
2 * \file ATL_Deprecate.cpp Transient functions used during the ATL removal proce ss.
3 */
4
5 #include "ATL_Deprecate.h"
6
7 std::wstring to_wstring(ATL::CString& s)
8 {
9 std::wstring result(s.GetBuffer());
10 s.ReleaseBuffer();
11 return result;
12 }
13
14
15 ATL::CString to_CString(const std::wstring& s)
16 {
17 return ATL::CString(s.c_str());
18 }
OLDNEW
« no previous file with comments | « src/plugin/ATL_Deprecate.h ('k') | src/plugin/AdblockPlusDomTraverser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld