diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-31 02:18:36 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-31 02:18:36 -0800 |
commit | f43f556e282c006e9429d48d47c6396890f21ffa (patch) | |
tree | d4f258d6fe89c8486d5e12b3fbb02e890f9fbaa2 | |
parent | 7db3c535215cbae9711f7d387e6f9cf5f332b86a (diff) | |
download | mu-f43f556e282c006e9429d48d47c6396890f21ffa.tar.gz |
4176
-rw-r--r-- | 036refcount.cc | 2 | ||||
-rw-r--r-- | html/036refcount.cc.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/036refcount.cc b/036refcount.cc index 075060ba..418e22b0 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -83,7 +83,7 @@ void decrement_refcount(int old_address, const type_tree* payload_type, int payl int payload_size(reagent/*copy*/ x) { x.properties.push_back(pair<string, string_tree*>("lookup", NULL)); - lookup_memory_core(x, /*check for nulls*/false); + lookup_memory_core(x, /*check_for_null*/false); return size_of(x) + /*refcount*/1; } diff --git a/html/036refcount.cc.html b/html/036refcount.cc.html index e1486f8e..79662480 100644 --- a/html/036refcount.cc.html +++ b/html/036refcount.cc.html @@ -148,7 +148,7 @@ if ('onhashchange' in window) { <span id="L83" class="LineNr"> 83 </span> <span id="L84" class="LineNr"> 84 </span><span class="Normal">int</span> <a href='036refcount.cc.html#L84'>payload_size</a><span class="Delimiter">(</span>reagent<span class="Comment">/*</span><span class="Comment">copy</span><span class="Comment">*/</span> x<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L85" class="LineNr"> 85 </span> x<span class="Delimiter">.</span>properties<span class="Delimiter">.</span>push_back<span class="Delimiter">(</span>pair<string<span class="Delimiter">,</span> string_tree*><span class="Delimiter">(</span><span class="Constant">"lookup"</span><span class="Delimiter">,</span> <span class="Constant">NULL</span><span class="Delimiter">));</span> -<span id="L86" class="LineNr"> 86 </span> lookup_memory_core<span class="Delimiter">(</span>x<span class="Delimiter">,</span> <span class="Comment">/*</span><span class="Comment">check for nulls</span><span class="Comment">*/</span><span class="Constant">false</span><span class="Delimiter">);</span> +<span id="L86" class="LineNr"> 86 </span> lookup_memory_core<span class="Delimiter">(</span>x<span class="Delimiter">,</span> <span class="Comment">/*</span><span class="Comment">check_for_null</span><span class="Comment">*/</span><span class="Constant">false</span><span class="Delimiter">);</span> <span id="L87" class="LineNr"> 87 </span> <span class="Identifier">return</span> size_of<span class="Delimiter">(</span>x<span class="Delimiter">)</span> + <span class="Comment">/*</span><span class="Comment">refcount</span><span class="Comment">*/</span><span class="Constant">1</span><span class="Delimiter">;</span> <span id="L88" class="LineNr"> 88 </span><span class="Delimiter">}</span> <span id="L89" class="LineNr"> 89 </span> |