浏览代码

Oops we needed _r in there...

Adam Ierymenko 11 年之前
父节点
当前提交
fb7d9b1029
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 2 1
      node/SysEnv.cpp
  2. 3 0
      node/SysEnv.hpp

+ 2 - 1
node/SysEnv.cpp

@@ -62,7 +62,8 @@
 
 namespace ZeroTier {
 
-SysEnv::SysEnv(const RuntimeEnvironment *renv)
+SysEnv::SysEnv(const RuntimeEnvironment *renv) :
+	_r(renv)
 {
 }
 

+ 3 - 0
node/SysEnv.hpp

@@ -49,6 +49,9 @@ public:
 	 * @return Fingerprint of currently running network environment
 	 */
 	uint64_t getNetworkConfigurationFingerprint();
+
+private:
+	const RuntimeEnvironment *_r;
 };
 
 } // namespace ZeroTier