Ignore:
Timestamp:
Aug 15, 2019 5:11:41 AM (5 years ago)
Author:
nanang
Message:

Close #2219: Initialize enum fields in PJSUA2 objects.

File:
1 edited

Legend:

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

    r6026 r6051  
    171171 
    172172public: 
     173    /** 
     174     * Default constructor 
     175     */ 
     176    BuddyInfo() : subState(PJSIP_EVSUB_STATE_UNKNOWN), 
     177                  subTermCode(PJSIP_SC_NULL) 
     178    {} 
     179                     
     180 
    173181    /** Import from pjsip structure */ 
    174182    void fromPj(const pjsua_buddy_info &pbi); 
Note: See TracChangeset for help on using the changeset viewer.