Ignore:
Timestamp:
Jun 20, 2018 7:56:45 AM (15 months ago)
Author:
nanang
Message:

Fix #2121: Initialize basic type data member of PJSUA2/C++ objects in its constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/siptypes.hpp

    r4968 r5807  
    405405 
    406406public: 
     407    /** 
     408     * Default constructor. 
     409     */ 
     410    TransportInfo(); 
     411 
    407412    /** Construct from pjsua_transport_info */ 
    408413    void fromPj(const pjsua_transport_info &info); 
     
    544549    pj_status_t     status;         /**< Transport error status.    */ 
    545550    GenericData     data;           /**< Generic data.              */ 
     551 
     552    TsxStateEventSrc() : status() {} 
    546553}; 
    547554 
     
    561568                                         *     - PJSIP_EVENT_USER 
    562569                                         */ 
     570 
     571    TsxStateEvent(); 
    563572}; 
    564573 
Note: See TracChangeset for help on using the changeset viewer.