浏览代码

compilation fix

David Rose 14 年之前
父节点
当前提交
525c422d74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/pipeline/pipelineCyclerTrueImpl.I

+ 1 - 1
panda/src/pipeline/pipelineCyclerTrueImpl.I

@@ -243,8 +243,8 @@ elevate_read_upstream(const CycleData *pointer, bool force_to_0, Thread *current
 INLINE void PipelineCyclerTrueImpl::
 increment_write(CycleData *pointer) const {
   TAU_PROFILE("void PipelineCyclerTrueImpl::increment_write(CycleData *)", " ", TAU_USER);
-#ifdef _DEBUG
   int pipeline_stage = Thread::get_current_pipeline_stage();
+#ifdef _DEBUG
   nassertv(pipeline_stage >= 0 && pipeline_stage < _num_stages);
   nassertv(_data[pipeline_stage]._cdata == pointer);
 #endif