Lines 1-11
Link Here
|
1 |
--- lib/Json.hpp.orig 2020-03-13 20:36:36 UTC |
1 |
--- lib/Json.hpp.orig 2020-05-07 19:34:09 UTC |
2 |
+++ lib/Json.hpp |
2 |
+++ lib/Json.hpp |
3 |
@@ -1189,8 +1189,6 @@ class Jnode::Iterator: public std::iterator<std::bidir |
3 |
@@ -688,11 +688,11 @@ class Jnode { |
|
|
4 |
Jnode(const Jnode &jn): Jnode() { // CC |
4 |
|
5 |
|
|
|
6 |
#ifdef BG_CC // -DBG_CC to compile this debug |
7 |
- if(DBG()(__Dbg_flow__::ind)) { // dodge DBG's mutex dead-lock |
8 |
+ if(DBG()(__Dbg_flow__::ind())) { // dodge DBG's mutex dead-lock |
9 |
GUARD(DBG().alt_prefix, DBG().alt_prefix) |
10 |
DBG().alt_prefix(">"); |
11 |
DOUT() << DBG().prompt(__func__, |
12 |
- __Dbg_flow__::ind + 1, DBG().stamped(), |
13 |
+ __Dbg_flow__::ind() + 1, DBG().stamped(), |
14 |
Debug::Indention::Alternative) |
15 |
<< "CC copying: " |
16 |
<< jn.to_string(Jnode::PrettyType::Raw, 0) << std::endl; |
17 |
@@ -1221,8 +1221,6 @@ class Jnode::Iterator: public std::iterator<std::bidir |
18 |
SuperJnode(Jtype t): Jnode{t} {} // Init Construct |
19 |
|
5 |
SuperJnode & operator()(const std::string &s, Jnode &jn) |
20 |
SuperJnode & operator()(const std::string &s, Jnode &jn) |
|
|
21 |
- { lbp_ = &s; jnp_ = &jn; return *this; } |
22 |
- const SuperJnode & operator()(const std::string &s, const Jnode &jn) const |
6 |
{ lbp_ = &s; jnp_ = &jn; return *this; } |
23 |
{ lbp_ = &s; jnp_ = &jn; return *this; } |
7 |
- const SuperJnode & operator()(const std::string &s, const Jnode &jn) const |
|
|
8 |
- { lbp_ = &s; jnp_ = &jn; return *this; } |
9 |
|
24 |
|
10 |
const std::string * lbp_{nullptr}; // pointer to a label string |
25 |
const std::string * lbp_{nullptr}; // pointer to a label string |
11 |
Jnode * jnp_{nullptr}; // resolved Jnode pointer |
|
|