1
0
Fork 0

next attempt

This commit is contained in:
Jan Steemann 2016-06-21 09:58:16 +02:00
parent f362dc5e21
commit 6b23e9fee9
2 changed files with 3 additions and 3 deletions

View File

@ -520,7 +520,7 @@ bool Node::handle<UNOBSERVE>(VPackSlice const& slice) {
/// Check if element is in array
/// Remove observer for this node
template <>
bool Node::handle<Operation::IN>(VPackSlice const& slice) {
bool Node::handle<IN_OP>(VPackSlice const& slice) {
return true;
}
@ -558,7 +558,7 @@ bool Node::applieOp(VPackSlice const& slice) {
} else if (oper == "unobserve") { // "op":"unobserve"
return handle<UNOBSERVE>(slice);
} else if (oper == "in") { // "op":"unobserve"
return handle<Operation::IN>(slice);
return handle<IN_OP>(slice);
} else { // "op" might not be a key word after all
LOG_TOPIC(WARN, Logger::AGENCY)
<< "Keyword 'op' without known operation. Handling as regular key.";

View File

@ -51,7 +51,7 @@ enum Operation {
SHIFT,
OBSERVE,
UNOBSERVE,
IN
IN_OP // thanks to windows.h
};
using namespace arangodb::velocypack;