Ignore:
Timestamp:
Jun 12, 2019 6:00:35 AM (13 months 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/config.hpp

    r5878 r6026  
    4848#endif 
    4949 
     50 
     51/* 
     52 * C++11 deprecated dynamic exception specification, but SWIG needs it. 
     53 */ 
     54#ifndef SWIG 
     55#   define PJSUA2_THROW(x) 
     56#else 
     57#   define PJSUA2_THROW(x) throw(x) 
     58#endif 
     59 
    5060/** 
    5161 * @}  PJSUA2_CFG 
Note: See TracChangeset for help on using the changeset viewer.