Ignore:
Timestamp:
Jul 16, 2008, 1:56:01 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

#149「デリゲートに非クラスメンバ関数を指定できない」を解消

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Compile_Func.cpp

    r687 r689  
    374374
    375375
    376     if( userProc.GetMethod().IsDynamic() )
     376    if( userProc.HasParentClass() && userProc.GetMethod().IsDynamic() )
    377377    {
    378378        /////////////////////////////////////////////////////////////////
     
    406406
    407407    std::vector<const UserProc *> subs;
    408     if( userProc.GetMethod().IsDynamic() )
     408    if( userProc.HasParentClass() && userProc.GetMethod().IsDynamic() )
    409409    {
    410410        dgClass.GetStaticMethods().Enum( "_CreateDynamicDelegate", subs );
Note: See TracChangeset for help on using the changeset viewer.