Merge pull request #2224 from nlohmann/issue2221
Remove unused typedefs
This commit is contained in:
commit
1b4ea8f89b
2 changed files with 0 additions and 12 deletions
|
@ -398,7 +398,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_and_create(BasicJsonType& j) const
|
BasicJsonType& get_and_create(BasicJsonType& j) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
auto result = &j;
|
auto result = &j;
|
||||||
|
|
||||||
// in case no reference tokens exist, return a reference to the JSON value
|
// in case no reference tokens exist, return a reference to the JSON value
|
||||||
|
@ -471,7 +470,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_unchecked(BasicJsonType* ptr) const
|
BasicJsonType& get_unchecked(BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
// convert null values to arrays or objects before continuing
|
// convert null values to arrays or objects before continuing
|
||||||
|
@ -531,7 +529,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_checked(BasicJsonType* ptr) const
|
BasicJsonType& get_checked(BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -581,7 +578,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const
|
const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -624,7 +620,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
const BasicJsonType& get_checked(const BasicJsonType* ptr) const
|
const BasicJsonType& get_checked(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -665,7 +660,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
bool contains(const BasicJsonType* ptr) const
|
bool contains(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
|
|
@ -11529,7 +11529,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_and_create(BasicJsonType& j) const
|
BasicJsonType& get_and_create(BasicJsonType& j) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
auto result = &j;
|
auto result = &j;
|
||||||
|
|
||||||
// in case no reference tokens exist, return a reference to the JSON value
|
// in case no reference tokens exist, return a reference to the JSON value
|
||||||
|
@ -11602,7 +11601,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_unchecked(BasicJsonType* ptr) const
|
BasicJsonType& get_unchecked(BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
// convert null values to arrays or objects before continuing
|
// convert null values to arrays or objects before continuing
|
||||||
|
@ -11662,7 +11660,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
BasicJsonType& get_checked(BasicJsonType* ptr) const
|
BasicJsonType& get_checked(BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -11712,7 +11709,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const
|
const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -11755,7 +11751,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
const BasicJsonType& get_checked(const BasicJsonType* ptr) const
|
const BasicJsonType& get_checked(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
@ -11796,7 +11791,6 @@ class json_pointer
|
||||||
*/
|
*/
|
||||||
bool contains(const BasicJsonType* ptr) const
|
bool contains(const BasicJsonType* ptr) const
|
||||||
{
|
{
|
||||||
using size_type = typename BasicJsonType::size_type;
|
|
||||||
for (const auto& reference_token : reference_tokens)
|
for (const auto& reference_token : reference_tokens)
|
||||||
{
|
{
|
||||||
switch (ptr->type())
|
switch (ptr->type())
|
||||||
|
|
Loading…
Reference in a new issue