mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
6d560094f4
commit
2942cff069
1 file changed
+2
-2
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user