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

Side by Side Diff: src/plugin/PluginUtil.h

Issue 4859310991474688: Issue 1681 - Incorrect usage of BString (Closed)
Patch Set: prevent warning of implicit conversion from std::wstring::size_type (size_t here) to signed int Created Dec. 12, 2014, 4:01 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/PluginClass.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #pragma once 1 #pragma once
2 #include <string> 2 #include <string>
3 3
4 class BString
5 {
6 public:
7 BString(const std::wstring& value);
8 ~BString();
9 operator BSTR();
10 private:
11 BSTR value;
12 BString(const BString&);
13 BString& operator=(const BString&);
14 };
15
16 std::wstring HtmlFolderPath(); 4 std::wstring HtmlFolderPath();
17 std::wstring UserSettingsFileUrl(); 5 std::wstring UserSettingsFileUrl();
18 std::wstring FirstRunPageFileUrl(); 6 std::wstring FirstRunPageFileUrl();
19 std::wstring FileUrl(const std::wstring& url); 7 std::wstring FileUrl(const std::wstring& url);
OLDNEW
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld