From ae0544b7ce8370fcd9322dd10a8c2ebdcbabe75c Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 2 May 2019 00:18:18 +0200 Subject: core: remove support for moving deno_buf ownership from C++ to JavaScript The functionality hasn't been in use for a long time. Without this feature, the `alloc_ptr` and `alloc_len` fields are no longer necessary. --- core/libdeno/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/libdeno/test.h') diff --git a/core/libdeno/test.h b/core/libdeno/test.h index d7e6a3f80..4ae83f810 100644 --- a/core/libdeno/test.h +++ b/core/libdeno/test.h @@ -6,7 +6,7 @@ #include "testing/gtest/include/gtest/gtest.h" extern deno_snapshot snapshot; // Loaded in libdeno/test.cc -const deno_buf empty = {nullptr, 0, nullptr, 0}; +const deno_buf empty = {nullptr, 0}; const deno_snapshot empty_snapshot = {nullptr, 0}; #endif // TEST_H_ -- cgit v1.2.3