chore: move destructors to header so they can be trivially destructible (#29379)
This commit is contained in:
parent
d74ad51826
commit
80a039ec40
4 changed files with 2 additions and 7 deletions
|
@ -15,8 +15,6 @@ ErrorThrower::ErrorThrower(v8::Isolate* isolate) : isolate_(isolate) {}
|
|||
// costly to invoke
|
||||
ErrorThrower::ErrorThrower() : isolate_(v8::Isolate::GetCurrent()) {}
|
||||
|
||||
ErrorThrower::~ErrorThrower() = default;
|
||||
|
||||
void ErrorThrower::ThrowError(base::StringPiece err_msg) const {
|
||||
Throw(v8::Exception::Error, err_msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue