summaryrefslogtreecommitdiff
path: root/src/ValueBaseStructParserStateMachine.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-07-26 21:07:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-07-26 21:07:10 +0900
commit01e1fdaf495342ae8735ec74eb57f912fa67d535 (patch)
treee5573e8aa7f3786d8364c76cabf5397f7473ed2f /src/ValueBaseStructParserStateMachine.h
parent7176107414f73d7fe0cfd7d5ce516aa41a2f0b22 (diff)
Parse torrent file on the fly if --follow-torrent=mem is given
In this changes, Bencode parser in bencode2 is removed and the request is delegated to BencodeParser.
Diffstat (limited to 'src/ValueBaseStructParserStateMachine.h')
-rw-r--r--src/ValueBaseStructParserStateMachine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ValueBaseStructParserStateMachine.h b/src/ValueBaseStructParserStateMachine.h
index 30143181..5b5efa56 100644
--- a/src/ValueBaseStructParserStateMachine.h
+++ b/src/ValueBaseStructParserStateMachine.h
@@ -57,7 +57,7 @@ class ValueBaseStructParserState;
class ValueBaseStructParserStateMachine : public StructParserStateMachine {
public:
typedef SharedHandle<ValueBase> ResultType;
- static const SharedHandle<ValueBase> noResult;
+ static const SharedHandle<ValueBase>& noResult();
struct NumberData {
int64_t number;