Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parserutility.h

    r6611177 rbb7422a  
    2424
    2525template< typename T >
    26 static inline auto maybeBuild( T * orig ) -> decltype(orig->build()) {
     26static inline auto maybeBuild( const T *orig ) -> decltype(orig->build()) {
    2727        return (orig) ? orig->build() : nullptr;
    2828}
    2929
    3030template< typename T >
    31 static inline auto maybeMoveBuild( T * orig ) -> decltype(orig->build()) {
     31static inline auto maybeMoveBuild( const T *orig ) -> decltype(orig->build()) {
    3232        auto ret = maybeBuild<T>(orig);
    3333        delete orig;
Note: See TracChangeset for help on using the changeset viewer.