summaryrefslogtreecommitdiff
path: root/src/stream_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/stream_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/stream_wrap.h')
-rw-r--r--src/stream_wrap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 0a431c1486..98d22cbfad 100644
--- a/src/stream_wrap.h
+++ b/src/stream_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 STREAM_WRAP_H_
-#define STREAM_WRAP_H_
+#ifndef SRC_STREAM_WRAP_H_
+#define SRC_STREAM_WRAP_H_
#include "v8.h"
#include "node.h"
@@ -53,8 +53,8 @@ class WriteWrap: public ReqWrap<uv_write_t> {
protected:
// People should not be using the non-placement new and delete operator on a
// WriteWrap. Ensure this never happens.
- void* operator new(size_t size) { assert(0); };
- void operator delete(void* ptr) { assert(0); };
+ void* operator new(size_t size) { assert(0); }
+ void operator delete(void* ptr) { assert(0); }
};
// Overridable callbacks' types
@@ -160,4 +160,4 @@ class StreamWrap : public HandleWrap {
} // namespace node
-#endif // STREAM_WRAP_H_
+#endif // SRC_STREAM_WRAP_H_