mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine consts.
This commit is contained in:
parent
2667815123
commit
1afa6ed607
6 changed files with 16 additions and 16 deletions
|
@ -28,7 +28,7 @@ using namespace std;
|
|||
#include <srs_kernel_log.hpp>
|
||||
#include <srs_kernel_error.hpp>
|
||||
|
||||
#ifdef SRS_JSON_USE_NXJSON
|
||||
#ifdef __SRS_JSON_USE_NXJSON
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -303,7 +303,7 @@ SrsJsonArray* SrsJsonAny::array()
|
|||
return new SrsJsonArray();
|
||||
}
|
||||
|
||||
#ifdef SRS_JSON_USE_NXJSON
|
||||
#ifdef __SRS_JSON_USE_NXJSON
|
||||
SrsJsonAny* srs_json_parse_tree_nx_json(const nx_json* node)
|
||||
{
|
||||
if (!node) {
|
||||
|
@ -490,7 +490,7 @@ void SrsJsonArray::add(SrsJsonAny* value)
|
|||
properties.push_back(value);
|
||||
}
|
||||
|
||||
#ifdef SRS_JSON_USE_NXJSON
|
||||
#ifdef __SRS_JSON_USE_NXJSON
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue