Ignore:
Timestamp:
Jul 7, 2015, 1:49:58 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
82dd287
Parents:
e0ff3e6 (diff), 8686f31 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    re0ff3e6 r413f7f8  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun  8 14:43:54 2015
    13 // Update Count     : 13
     12// Last Modified On : Thu Jul  2 18:04:41 2015
     13// Update Count     : 16
    1414//
    1515
     
    8686}
    8787
    88 static inline std::string assign_strptr( std::string *str ) {
     88static inline std::string assign_strptr( const std::string *str ) {
    8989        if ( str == 0 ) {
    9090                return "";
     
    9797}
    9898
    99 template< class T, typename ResultType, ResultType (T::* memfunc)() >
     99template< class T, typename ResultType, ResultType( T::* memfunc )() >
    100100ResultType dispatch( T *pT ) {
    101101        return (pT->*memfunc)();
Note: See TracChangeset for help on using the changeset viewer.