mirror of https://gitee.com/bigwinds/arangodb
fix copy&paste error
This commit is contained in:
parent
d892f280ed
commit
6c3eba939a
|
@ -797,7 +797,7 @@ bool Node::getBool() const {
|
||||||
|
|
||||||
double Node::getDouble() const {
|
double Node::getDouble() const {
|
||||||
if (type() == NODE) {
|
if (type() == NODE) {
|
||||||
throw StoreException("Must not convert NODE type to int");
|
throw StoreException("Must not convert NODE type to double");
|
||||||
}
|
}
|
||||||
return slice().getNumber<double>();
|
return slice().getNumber<double>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue