Skip to content

Commit

Permalink
tools: use using-declaration consistently
Browse files Browse the repository at this point in the history
PR-URL: #36245
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
danbev authored and danielleadams committed Dec 7, 2020
1 parent 82c1e39 commit a2da7ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/snapshot/snapshot_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void WriteVector(std::stringstream* ss, const T* vec, size_t size) {
}
}

std::string FormatBlob(v8::StartupData* blob,
std::string FormatBlob(StartupData* blob,
const std::vector<size_t>& isolate_data_indexes,
const EnvSerializeInfo& env_info) {
std::stringstream ss;
Expand Down Expand Up @@ -75,9 +75,9 @@ const EnvSerializeInfo* NodeMainInstance::GetEnvSerializeInfo() {
return ss.str();
}

static v8::StartupData SerializeNodeContextInternalFields(Local<Object> holder,
int index,
void* env) {
static StartupData SerializeNodeContextInternalFields(Local<Object> holder,
int index,
void* env) {
void* ptr = holder->GetAlignedPointerFromInternalField(index);
if (ptr == nullptr || ptr == env) {
return StartupData{nullptr, 0};
Expand Down

0 comments on commit a2da7ba

Please sign in to comment.