diff options
Diffstat (limited to 'src/pipe.cpp')
-rw-r--r-- | src/pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.cpp b/src/pipe.cpp index 20acf98e5..e876e57d1 100644 --- a/src/pipe.cpp +++ b/src/pipe.cpp @@ -130,7 +130,7 @@ void Pipe::process_msg(const MemoryRegion<byte>& input) *************************************************/ void Pipe::process_msg(const std::string& input) { - process_msg((const byte*)input.c_str(), input.length()); + process_msg((const byte*)input.data(), input.length()); } /************************************************* |