summaryrefslogtreecommitdiff
path: root/src/req_wrap.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:07:29 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-07-31 22:12:06 +0400
commit8e29ce9f13f7e4b6c0296325287c05f78ff22ce0 (patch)
treec3420f601d23448e28439bbcd75c6aaf022b5d0c /src/req_wrap.h
parent3c6b5d5df1e445d080737e435675e11b102f0126 (diff)
downloadandroid-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.h10
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_