Skip to content

Commit e703840

Browse files
committed
std::strcpy -> strcpy
Signed-off-by: Matt Leon <mattleon@google.com>
1 parent 8d53459 commit e703840

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/utility.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class TestContext : public ContextBase {
113113
void setBuffer(int32_t buffer_type, std::string buffer) {
114114
auto [it, inserted] = buffers_.emplace(buffer_type, std::make_unique<proxy_wasm::BufferBase>());
115115
std::unique_ptr<char[]> arr = std::make_unique<char[]>(buffer.size() + 1);
116-
std::strcpy(arr.get(), buffer.c_str());
116+
strcpy(arr.get(), buffer.c_str());
117117
it->second->set(std::move(arr), buffer.size() + 1);
118118
}
119119

0 commit comments

Comments
 (0)