Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1262)

Unified Diff: remoting/host/server_log_entry.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/server_log_entry.cc
diff --git a/remoting/host/server_log_entry.cc b/remoting/host/server_log_entry.cc
index cf6f861b09b92de8d22eb981dd8cc9cd599dd696..f18b2378d2673da82082e78b100c217c6e3ebae4 100644
--- a/remoting/host/server_log_entry.cc
+++ b/remoting/host/server_log_entry.cc
@@ -140,7 +140,7 @@ scoped_ptr<XmlElement> ServerLogEntry::ToStanza() const {
kChromotingXmlNamespace, kLogEntry)));
ValuesMap::const_iterator iter;
for (iter = values_map_.begin(); iter != values_map_.end(); ++iter) {
- stanza->AddAttr(QName("", iter->first), iter->second);
+ stanza->AddAttr(QName(std::string(), iter->first), iter->second);
}
return stanza.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698