Jelajahi Sumber

Oops, #ifndef instead of #ifdef

David Rose 24 tahun lalu
induk
melakukan
55ed7eb6cc
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      panda/src/graph/wrt.I

+ 2 - 2
panda/src/graph/wrt.I

@@ -252,7 +252,7 @@ get_cached_net_transition(const Node *node,
     }
     }
 
 
     if (parent_arc == (NodeRelation *)NULL) {
     if (parent_arc == (NodeRelation *)NULL) {
-#ifndef NOTIFY_DEBUG
+#ifdef NOTIFY_DEBUG
       // No, it wasn't mentioned.  Issue a warning and use the first
       // No, it wasn't mentioned.  Issue a warning and use the first
       // one.
       // one.
       describe_ambiguous_wrt(node, arc_list_begin, arc_list_end, graph_type);
       describe_ambiguous_wrt(node, arc_list_begin, arc_list_end, graph_type);
@@ -344,7 +344,7 @@ get_uncached_net_transition(const Node *node,
     }
     }
 
 
     if (parent_arc == (NodeRelation *)NULL) {
     if (parent_arc == (NodeRelation *)NULL) {
-#ifndef NOTIFY_DEBUG
+#ifdef NOTIFY_DEBUG
       // No, it wasn't mentioned.  Issue a warning and use the first
       // No, it wasn't mentioned.  Issue a warning and use the first
       // one. 
       // one. 
       describe_ambiguous_wrt(node, arc_list_begin, arc_list_end, graph_type);
       describe_ambiguous_wrt(node, arc_list_begin, arc_list_end, graph_type);