Skip to content

Commit c0f5157

Browse files
committed
cpplint fixes
1 parent 0c3d86d commit c0f5157

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

nan.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,15 +2440,14 @@ inline MaybeLocal<v8::Value> TryEncode(
24402440
}
24412441

24422442
inline v8::Local<v8::Value> Encode(
2443-
const void *buf, size_t len, enum Encoding encoding = BINARY){
2443+
const void *buf, size_t len, enum Encoding encoding = BINARY) {
24442444
return TryEncode(buf, len, encoding).ToLocalChecked();
24452445
}
24462446

24472447
#else
24482448

24492449
inline v8::Local<v8::Value> Encode(
2450-
const void *buf, size_t len, enum Encoding encoding = BINARY)
2451-
{
2450+
const void *buf, size_t len, enum Encoding encoding = BINARY) {
24522451
#if (NODE_MODULE_VERSION >= ATOM_0_21_MODULE_VERSION)
24532452
v8::Isolate* isolate = v8::Isolate::GetCurrent();
24542453
node::encoding node_enc = static_cast<node::encoding>(encoding);

0 commit comments

Comments
 (0)