diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-12 18:25:07 +0300 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-11-18 22:56:10 +0300 |
commit | 83d2cb634e15546d50f135f1761ff19414b364c3 (patch) | |
tree | 7b488c2c04137f69797bed8feed8892e092a866f /src/stream_wrap.h | |
parent | 8ba39b01899fd51554fbfb5c906e88adf5b0035c (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.h | 3 |
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); |