Changeset 448 for trunk


Ignore:
Timestamp:
Nov 2, 2011 11:59:45 PM (6 years ago)
Author:
bjarni
Message:

Reverting back to void* from const void* for callback UserParam? argument in unitTest.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CoinMP/test/unitTest.cpp

    r442 r448  
    1313
    1414
    15 int SOLVCALL MsgLogCallback(const char* MessageStr, const void *UserParam)
     15int SOLVCALL MsgLogCallback(const char* MessageStr, void *UserParam)
    1616{
    1717        //fprintf(stdout, "*** %s", MessageStr);
     
    2424                        int    IsFeasible,
    2525                        double InfeasValue,
    26                         const void   *UserParam)
     26                        void   *UserParam)
    2727{
    2828        fprintf(stdout, "*** ITER: iter=%d, obj=%.20g, feas=%d, infeas=%.20g, user=%s\n",
     
    3636                                double BestInteger,
    3737                                int    IsMipImproved,
    38                                 const void   *UserParam)
     38                                void   *UserParam)
    3939{
    4040        fprintf(stdout, "*** NODE: iter=%d, node=%d, bound=%.20g, best=%.20g, %s, user=%s\n",
     
    123123        int result;
    124124        char filename[260];
    125         const char *userParam = "TEST";
     125        char *userParam = "TEST";
    126126   
    127127        fprintf(stdout, "Solve Problem: %s (obj=%.20g)\n", problemName, optimalValue);
     
    163163        int result;
    164164        char filename[260];
    165         const char *userParam = "TEST";
     165        char *userParam = "TEST";
    166166   
    167167        fprintf(stdout, "Solve Problem: %s (obj=%.20g)\n", problemName, optimalValue);
     
    205205        int result;
    206206        char filename[260];
    207         const char *userParam = "TEST";
     207        char *userParam = "TEST";
    208208 
    209209        fprintf(stdout, "Solve Problem: %s (obj=%.20g)\n", problemName, optimalValue);
Note: See TracChangeset for help on using the changeset viewer.