Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
49dc2dff
Commit
49dc2dff
authored
Feb 14, 2016
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed error when compiled with Clang
parent
836fdfed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
src/json.hpp
src/json.hpp
+5
-5
src/json.hpp.re2c
src/json.hpp.re2c
+5
-5
No files found.
src/json.hpp
View file @
49dc2dff
...
@@ -719,7 +719,7 @@ class basic_json
...
@@ -719,7 +719,7 @@ class basic_json
number_float_t
number_float
;
number_float_t
number_float
;
/// default constructor (for null values)
/// default constructor (for null values)
json_value
()
noexcept
=
default
;
json_value
()
=
default
;
/// constructor for booleans
/// constructor for booleans
json_value
(
boolean_t
v
)
noexcept
:
boolean
(
v
)
{}
json_value
(
boolean_t
v
)
noexcept
:
boolean
(
v
)
{}
/// constructor for numbers (integer)
/// constructor for numbers (integer)
...
@@ -957,7 +957,7 @@ class basic_json
...
@@ -957,7 +957,7 @@ class basic_json
@since version 1.0.0
@since version 1.0.0
*/
*/
basic_json
()
noexcept
=
default
;
basic_json
()
=
default
;
/*!
/*!
@brief create a null object (explicitly)
@brief create a null object (explicitly)
...
@@ -6284,7 +6284,7 @@ class basic_json
...
@@ -6284,7 +6284,7 @@ class basic_json
using
iterator_category
=
std
::
bidirectional_iterator_tag
;
using
iterator_category
=
std
::
bidirectional_iterator_tag
;
/// default constructor
/// default constructor
const_iterator
()
noexcept
=
default
;
const_iterator
()
=
default
;
/// constructor for a given JSON instance
/// constructor for a given JSON instance
explicit
const_iterator
(
pointer
object
)
noexcept
explicit
const_iterator
(
pointer
object
)
noexcept
...
@@ -6818,7 +6818,7 @@ class basic_json
...
@@ -6818,7 +6818,7 @@ class basic_json
using
reference
=
typename
basic_json
::
reference
;
using
reference
=
typename
basic_json
::
reference
;
/// default constructor
/// default constructor
iterator
()
noexcept
=
default
;
iterator
()
=
default
;
/// constructor for a given JSON instance
/// constructor for a given JSON instance
explicit
iterator
(
pointer
object
)
noexcept
explicit
iterator
(
pointer
object
)
noexcept
...
@@ -7106,7 +7106,7 @@ class basic_json
...
@@ -7106,7 +7106,7 @@ class basic_json
}
}
/// default constructor
/// default constructor
lexer
()
noexcept
=
default
;
lexer
()
=
default
;
// switch off unwanted functions
// switch off unwanted functions
lexer
(
const
lexer
&
)
=
delete
;
lexer
(
const
lexer
&
)
=
delete
;
...
...
src/json.hpp.re2c
View file @
49dc2dff
...
@@ -719,7 +719,7 @@ class basic_json
...
@@ -719,7 +719,7 @@ class basic_json
number_float_t number_float;
number_float_t number_float;
/// default constructor (for null values)
/// default constructor (for null values)
json_value()
noexcept
= default;
json_value() = default;
/// constructor for booleans
/// constructor for booleans
json_value(boolean_t v) noexcept : boolean(v) {}
json_value(boolean_t v) noexcept : boolean(v) {}
/// constructor for numbers (integer)
/// constructor for numbers (integer)
...
@@ -957,7 +957,7 @@ class basic_json
...
@@ -957,7 +957,7 @@ class basic_json
@since version 1.0.0
@since version 1.0.0
*/
*/
basic_json()
noexcept
= default;
basic_json() = default;
/*!
/*!
@brief create a null object (explicitly)
@brief create a null object (explicitly)
...
@@ -6284,7 +6284,7 @@ class basic_json
...
@@ -6284,7 +6284,7 @@ class basic_json
using iterator_category = std::bidirectional_iterator_tag;
using iterator_category = std::bidirectional_iterator_tag;
/// default constructor
/// default constructor
const_iterator()
noexcept
= default;
const_iterator() = default;
/// constructor for a given JSON instance
/// constructor for a given JSON instance
explicit const_iterator(pointer object) noexcept
explicit const_iterator(pointer object) noexcept
...
@@ -6818,7 +6818,7 @@ class basic_json
...
@@ -6818,7 +6818,7 @@ class basic_json
using reference = typename basic_json::reference;
using reference = typename basic_json::reference;
/// default constructor
/// default constructor
iterator()
noexcept
= default;
iterator() = default;
/// constructor for a given JSON instance
/// constructor for a given JSON instance
explicit iterator(pointer object) noexcept
explicit iterator(pointer object) noexcept
...
@@ -7106,7 +7106,7 @@ class basic_json
...
@@ -7106,7 +7106,7 @@ class basic_json
}
}
/// default constructor
/// default constructor
lexer()
noexcept
= default;
lexer() = default;
// switch off unwanted functions
// switch off unwanted functions
lexer(const lexer&) = delete;
lexer(const lexer&) = delete;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment