Ignore:
Timestamp:
Jun 12, 2019 6:00:35 AM (4 years ago)
Author:
nanang
Message:

Misc (re #2147): Fixed compile warnings "dynamic exception specifications are deprecated in C++11".

File:
1 edited

Legend:

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

    r5821 r6026  
    105105     * @param node              Container to read values from. 
    106106     */ 
    107     virtual void readObject(const ContainerNode &node) throw(Error); 
     107    virtual void readObject(const ContainerNode &node) PJSUA2_THROW(Error); 
    108108 
    109109    /** 
     
    112112     * @param node              Container to write values to. 
    113113     */ 
    114     virtual void writeObject(ContainerNode &node) const throw(Error); 
     114    virtual void writeObject(ContainerNode &node) const PJSUA2_THROW(Error); 
    115115}; 
    116116 
     
    288288     * @param node              Container to read values from. 
    289289     */ 
    290     virtual void readObject(const ContainerNode &node) throw(Error); 
     290    virtual void readObject(const ContainerNode &node) PJSUA2_THROW(Error); 
    291291 
    292292    /** 
     
    295295     * @param node              Container to write values to. 
    296296     */ 
    297     virtual void writeObject(ContainerNode &node) const throw(Error); 
     297    virtual void writeObject(ContainerNode &node) const PJSUA2_THROW(Error); 
    298298}; 
    299299 
     
    385385     * @param node              Container to read values from. 
    386386     */ 
    387     virtual void readObject(const ContainerNode &node) throw(Error); 
     387    virtual void readObject(const ContainerNode &node) PJSUA2_THROW(Error); 
    388388 
    389389    /** 
     
    392392     * @param node              Container to write values to. 
    393393     */ 
    394     virtual void writeObject(ContainerNode &node) const throw(Error); 
     394    virtual void writeObject(ContainerNode &node) const PJSUA2_THROW(Error); 
    395395}; 
    396396 
     
    745745     * Initiaize from PJSIP header. 
    746746     */ 
    747     void fromPj(const pjsip_hdr *) throw(Error); 
     747    void fromPj(const pjsip_hdr *) PJSUA2_THROW(Error); 
    748748 
    749749    /** 
     
    785785     * Initiaize from PJSIP's pjsip_multipart_part. 
    786786     */ 
    787     void fromPj(const pjsip_multipart_part &prm) throw(Error); 
     787    void fromPj(const pjsip_multipart_part &prm) PJSUA2_THROW(Error); 
    788788 
    789789    /** 
     
    860860     * Initiaize from PJSUA's pjsua_msg_data. 
    861861     */ 
    862     void fromPj(const pjsua_msg_data &prm) throw(Error); 
     862    void fromPj(const pjsua_msg_data &prm) PJSUA2_THROW(Error); 
    863863 
    864864    /** 
     
    933933void readIntVector( ContainerNode &node, 
    934934                    const string &array_name, 
    935                     IntVector &v) throw(Error); 
     935                    IntVector &v) PJSUA2_THROW(Error); 
    936936void writeIntVector(ContainerNode &node, 
    937937                    const string &array_name, 
    938                     const IntVector &v) throw(Error); 
     938                    const IntVector &v) PJSUA2_THROW(Error); 
    939939void readQosParams( ContainerNode &node, 
    940                     pj_qos_params &qos) throw(Error); 
     940                    pj_qos_params &qos) PJSUA2_THROW(Error); 
    941941void writeQosParams( ContainerNode &node, 
    942                      const pj_qos_params &qos) throw(Error); 
     942                     const pj_qos_params &qos) PJSUA2_THROW(Error); 
    943943void readSipHeaders( const ContainerNode &node, 
    944944                     const string &array_name, 
    945                      SipHeaderVector &headers) throw(Error); 
     945                     SipHeaderVector &headers) PJSUA2_THROW(Error); 
    946946void writeSipHeaders(ContainerNode &node, 
    947947                     const string &array_name, 
    948                      const SipHeaderVector &headers) throw(Error); 
     948                     const SipHeaderVector &headers) PJSUA2_THROW(Error); 
    949949//! @endcond 
    950950#endif // SWIG 
Note: See TracChangeset for help on using the changeset viewer.