Sam Jaffe 1 год назад
Родитель
Сommit
1c63072156
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      include/jvalidate/schema.h

+ 0 - 9
include/jvalidate/schema.h

@@ -273,16 +273,7 @@ private:
     // Do this here first in order to protect from infinite loops
     alias(context.dynamic_where, &it->second);
     it->second.construct(context);
-    /* if (not it->second.is_pure_reference()) { */
     return &it->second;
-    /* } */
-
-    // Special Case - if the only is the reference constraint, then we don't need
-    // to store it uniquely. Draft2019_09 supports directly extending a $ref schema
-    // in the same schema, instead of requiring an allOf clause.
-    /* schema::Node const * node = *it->second.reference_schema(); */
-    /* cache_.erase(it); */
-    /* return alias_cache_[context.where] = node; */
   }
 };
 }