Ignore:
Timestamp:
Sep 8, 2017 11:16:09 AM (7 years ago)
Author:
ming
Message:

Re #1994 (misc): Fixed various warnings thrown by GCC 6.3. Thanks to Alexander Traud for the info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/pjsua2_demo.cpp

    r5467 r5646  
    129129    acc_cfg.sipConfig.authCreds.push_back( AuthCredInfo("digest", "*", 
    130130                                                        "test1", 0, "test1") ); 
    131     std::auto_ptr<MyAccount> acc(new MyAccount); 
     131    std::unique_ptr<MyAccount> acc(new MyAccount); 
    132132    acc->create(acc_cfg); 
    133133     
     
    308308    AccountConfig acc_cfg; 
    309309    acc_cfg.idUri = "sip:localhost"; 
    310     std::auto_ptr<MyAccount> acc(new MyAccount); 
     310    std::unique_ptr<MyAccount> acc(new MyAccount); 
    311311    acc->create(acc_cfg); 
    312312 
Note: See TracChangeset for help on using the changeset viewer.