summaryrefslogtreecommitdiff
path: root/netfs/fuse/fuseFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netfs/fuse/fuseFiles.cpp')
-rw-r--r--netfs/fuse/fuseFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseFiles.cpp b/netfs/fuse/fuseFiles.cpp
index f08c1dd..d2aae51 100644
--- a/netfs/fuse/fuseFiles.cpp
+++ b/netfs/fuse/fuseFiles.cpp
@@ -154,7 +154,7 @@ namespace NetFS {
{
try {
auto cpy = [buf](const auto && data) -> int {
- memcpy(buf, &data.front(), data.size());
+ std::copy(data.begin(), data.end(), buf);
return safe {data.size()};
};
auto of = getProxy<OpenFilePtr>(fi->fh);