src: add missing 'inline' keywords
The BaseObject constructor and destructor should not have external linkage because BaseObject is a header-only construct. Add the necessary 'inline' keywords. PR-URL: https://github.com/nodejs/node/pull/6056 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
0a62f929da
commit
0d41463d1f
@ -9,8 +9,8 @@ class Environment;
|
||||
|
||||
class BaseObject {
|
||||
public:
|
||||
BaseObject(Environment* env, v8::Local<v8::Object> handle);
|
||||
virtual ~BaseObject();
|
||||
inline BaseObject(Environment* env, v8::Local<v8::Object> handle);
|
||||
inline virtual ~BaseObject();
|
||||
|
||||
// Returns the wrapped object. Returns an empty handle when
|
||||
// persistent.IsEmpty() is true.
|
||||
|
Loading…
x
Reference in New Issue
Block a user