diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-07-31 22:07:29 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-07-31 22:12:06 +0400 |
commit | 8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 (patch) | |
tree | c3420f601d23448e28439bbcd75c6aaf022b5d0c /src/req_wrap.h | |
parent | 3c6b5d5df1e445d080737e435675e11b102f0126 (diff) | |
download | android-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.tar.gz android-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.tar.bz2 android-node-v8-8e29ce9f13f7e4b6c0296325287c05f78ff22ce0.zip |
src: lint c++ code
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r-- | src/req_wrap.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <typename T> class ReqWrap { -public: + public: ReqWrap(v8::Handle<v8::Object> object = v8::Handle<v8::Object>()) { v8::HandleScope scope(node_isolate); if (object.IsEmpty()) object = v8::Object::New(); @@ -79,11 +79,11 @@ public: v8::Persistent<v8::Object> 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_ |