Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
src: Update src/util.h
Co-Authored-By: leeight <leeight@gmail.com>
  • Loading branch information
addaleax and leeight authored Nov 24, 2018
commit c0a94ef3c92a422c44a5c123efae9bdb6476ebda
2 changes: 1 addition & 1 deletion src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ inline v8::Local<v8::String> FIXED_ONE_BYTE_STRING(
template <std::size_t N>
inline v8::Local<v8::String> FIXED_ONE_BYTE_STRING(
v8::Isolate* isolate,
std::array<char, N> arr) {
const std::array<char, N>& arr) {
return OneByteString(isolate, arr.data(), N - 1);
}

Expand Down