summaryrefslogtreecommitdiff
path: root/decoder/nt_span.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-04-07 22:56:34 -0400
committerChris Dyer <redpony@gmail.com>2014-04-07 22:56:34 -0400
commit5a8b0aa3245f14a3c049f6f8d34c3a6f37cf070c (patch)
tree2117a9eca8065e9eed33251a4ac12ebc875fae9f /decoder/nt_span.h
parent8c77c634836e56c7b9b3400afeac21277f168238 (diff)
track node state for smarter union
Diffstat (limited to 'decoder/nt_span.h')
-rw-r--r--decoder/nt_span.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/nt_span.h b/decoder/nt_span.h
index a918f301..6ff9391f 100644
--- a/decoder/nt_span.h
+++ b/decoder/nt_span.h
@@ -7,7 +7,7 @@
struct Span {
int l,r;
- Span() : l(-1) { }
+ Span() : l(-1), r(-1) { }
bool is_null() const { return l<0; }
void print(std::ostream &o,char const* for_null="") const {
if (is_null())