Changeset 546e712 for src/AST/Node.hpp


Ignore:
Timestamp:
Jun 6, 2019, 3:01:46 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
8c0d801, f46bfd2f
Parents:
2a54479
Message:

Fix for 1 bug of N

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Node.hpp

    r2a54479 r546e712  
    191191        /// wrapper for convenient access to strict_dynamic_cast
    192192        template<typename o_node_t>
    193         const o_node_t * strict_as() const { return strict_dynamic_cast<const o_node_t *>(node); }
     193        const o_node_t * strict_as() const { _check(); return strict_dynamic_cast<const o_node_t *>(node); }
    194194
    195195        /// Returns a mutable version of the pointer in this node.
Note: See TracChangeset for help on using the changeset viewer.