summaryrefslogtreecommitdiff
path: root/chromeos-dbus-bindings/indented_text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos-dbus-bindings/indented_text.cc')
-rw-r--r--chromeos-dbus-bindings/indented_text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos-dbus-bindings/indented_text.cc b/chromeos-dbus-bindings/indented_text.cc
index a261fb4..97e1875 100644
--- a/chromeos-dbus-bindings/indented_text.cc
+++ b/chromeos-dbus-bindings/indented_text.cc
@@ -61,7 +61,7 @@ void IndentedText::AddComments(const std::string& doc_string) {
// For all subsequent lines, remove the same whitespace prefix as found
// at the first line of the comment but keep any additional spaces to
// maintain the comment layout.
- auto lines = chromeos::string_utils::Split(doc_string, '\n', false, false);
+ auto lines = chromeos::string_utils::Split(doc_string, "\n", false, false);
vector<string> lines_out;
lines_out.reserve(lines.size());
bool first_nonempty_found = false;