Changeset 116 in dev for BasicCompiler_Common/Type.cpp


Ignore:
Timestamp:
May 12, 2007, 4:34:39 PM (18 years ago)
Author:
dai_9181
Message:

暗黙的なアップキャストを可能にした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Type.cpp

    r114 r116  
    8989    // TypeDefされた型
    9090    ////////////////////
    91     int i=Smoothie::Meta::typeDefs.GetIndex( typeName.c_str() );
     91    int i=Smoothie::Meta::typeDefs.GetIndex( typeName );
    9292    if(i!=-1){
    9393        type = Smoothie::Meta::typeDefs[i].GetBaseType();
     
    9696
    9797    //クラス
    98     const CClass *pobj_c = pobj_DBClass->Find( typeName.c_str() );
     98    const CClass *pobj_c = pobj_DBClass->Find( typeName );
    9999    if(pobj_c){
    100100        type.pClass = pobj_c;
Note: See TracChangeset for help on using the changeset viewer.