Changeset a08ba92 for translator/Common


Ignore:
Timestamp:
May 19, 2015, 4:58:14 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
843054c2
Parents:
01aeade
Message:

licencing: sixth groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/Common/utility.h

    r01aeade ra08ba92  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue May 19 07:27:38 2015
    13 // Update Count     : 2
     12// Last Modified On : Tue May 19 15:34:57 2015
     13// Update Count     : 3
    1414//
    1515
     
    116116        Ts ret;
    117117
    118         switch ( l.size() ){
     118        switch ( l.size() ) {
    119119          case 0:
    120120                return ret;
     
    156156
    157157        //if ( next != org.end() ) {
    158     org.erase( pos );
    159     org.splice( next, with );
    160     //}
     158        org.erase( pos );
     159        org.splice( next, with );
     160        //}
    161161
    162162        return;
     
    175175template< typename T >
    176176struct is_null_pointer {
    177         bool operator()( const T *ptr ){ return ( ptr == 0 ); }
     177        bool operator()( const T *ptr ) { return ( ptr == 0 ); }
    178178};
    179179
Note: See TracChangeset for help on using the changeset viewer.