chore: move destructors to header so they can be trivially destructible (#29379)

This commit is contained in:
David Sanders 2021-05-31 21:00:09 -07:00 committed by GitHub
parent d74ad51826
commit 80a039ec40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 7 deletions

View file

@ -21,7 +21,7 @@ class ObjectTemplateBuilder {
public:
ObjectTemplateBuilder(v8::Isolate* isolate,
v8::Local<v8::ObjectTemplate> templ);
~ObjectTemplateBuilder();
~ObjectTemplateBuilder() = default;
// It's against Google C++ style to return a non-const ref, but we take some
// poetic license here in order that all calls to Set() can be via the '.'