From 8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 31 Jul 2013 22:07:29 +0400 Subject: src: lint c++ code --- src/req_wrap.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/req_wrap.h') diff --git a/src/req_wrap.h b/src/req_wrap.h index 6dbf080a43..d4c1180ded 100644 --- a/src/req_wrap.h +++ b/src/req_wrap.h @@ -19,8 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#ifndef REQ_WRAP_H_ -#define REQ_WRAP_H_ +#ifndef SRC_REQ_WRAP_H_ +#define SRC_REQ_WRAP_H_ #include "queue.h" @@ -33,7 +33,7 @@ extern QUEUE req_wrap_queue; template class ReqWrap { -public: + public: ReqWrap(v8::Handle object = v8::Handle()) { v8::HandleScope scope(node_isolate); if (object.IsEmpty()) object = v8::Object::New(); @@ -79,11 +79,11 @@ public: v8::Persistent object_; QUEUE req_wrap_queue_; void* data_; - T req_; // *must* be last, GetActiveRequests() in node.cc depends on it + T req_; // *must* be last, GetActiveRequests() in node.cc depends on it }; } // namespace node -#endif // REQ_WRAP_H_ +#endif // SRC_REQ_WRAP_H_ -- cgit v1.2.3