low-level style tweaks

This commit is contained in:
Vern Paxson 2022-03-22 13:59:23 -07:00 committed by Christian Kreibich
parent ecd273c3ca
commit 75652927e2
2 changed files with 4 additions and 4 deletions

View file

@ -74,7 +74,7 @@ static std::string escape_string(const u_char* b, int len)
return res + "\"";
}
ValTrace::ValTrace(const ValPtr& _v)
ValTrace::ValTrace(const ValPtr& _v) : v(_v)
{
v = _v;
t = v->GetType();
@ -552,7 +552,7 @@ void ValTrace::ComputeVectorDelta(const ValTrace* prev, DeltaVector& deltas) con
auto n = elems.size();
auto prev_n = prev_elems.size();
// The following hasn't been tested for robustness to vector holes.
// TODO: The following hasn't been tested for robustness to vector holes.
if ( n < prev_n )
{

View file

@ -605,8 +605,8 @@ public:
* use this method to attach additional data to the connections. A
* call to BuildConnVal() will in turn trigger a call to
* UpdateConnVal().
* ### The above comment needs updating, there's no BuildConnVal()
* ### anymore -VP
* TODO: The above comment needs updating, there's no BuildConnVal()
* anymore -VP
*
* @param conn_val The connenction value being updated.
*/