Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-11-12 18:25:07 +0300
committerFedor Indutny <fedor@indutny.com>2014-11-18 22:56:10 +0300
commit83d2cb634e15546d50f135f1761ff19414b364c3 (patch)
tree7b488c2c04137f69797bed8feed8892e092a866f /src/stream_wrap.h
parent8ba39b01899fd51554fbfb5c906e88adf5b0035c (diff)
src: remove static variables from tls_wrap
Remove the error message globals. More prep work for multi-isolate support. Reviewed-By: Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/node-forward/node/pull/58
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index dbb969a06c6..26d9890bc9d 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -74,7 +74,8 @@ class StreamWrapCallbacks {
virtual ~StreamWrapCallbacks() = default;
- virtual const char* Error();
+ virtual const char* Error() const;
+ virtual void ClearError();
virtual int TryWrite(uv_buf_t** bufs, size_t* count);