diff --git a/cc/macros.h b/cc/macros.h index 28bfc6704..e7a542614 100644 --- a/cc/macros.h +++ b/cc/macros.h @@ -122,15 +122,4 @@ static FF_FUNC_TYPE ff_func = FF_FUNC_TYPE(); Nan::ObjectWrap::Unwrap(info.This())->prop = target; \ } -namespace FF { - template - static inline v8::Local stdVecToJSArray(std::vector vec) { - v8::Local jsArray = Nan::New(vec.size()); - for (int i = 0; i < jsArray->Length(); i++) { - jsArray->Set(i, Nan::New((toType)vec.at(i))); - } - return jsArray; - } -} - #endif