summaryrefslogtreecommitdiff
path: root/src/shell_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell_manager.cc')
-rw-r--r--src/shell_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell_manager.cc b/src/shell_manager.cc
index cf7d6cf3..283b1029 100644
--- a/src/shell_manager.cc
+++ b/src/shell_manager.cc
@@ -55,7 +55,7 @@ std::pair<String, int> ShellManager::eval(
size_t size = read(watcher.fd(), buffer, 1024);
if (size <= 0)
watcher.close_fd();
- output += String(buffer, buffer+size);
+ output += StringView{buffer, buffer+size};
};
};