mirror of https://gitee.com/bigwinds/arangodb
Fixed compile warning
This commit is contained in:
parent
adec2b1c50
commit
d7b4ad5797
|
@ -31,6 +31,7 @@
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "Basics/StringBuffer.h"
|
#include "Basics/StringBuffer.h"
|
||||||
|
#include "Basics/VelocyPackHelper.h"
|
||||||
|
|
||||||
namespace arangodb {
|
namespace arangodb {
|
||||||
namespace rest {
|
namespace rest {
|
||||||
|
@ -110,6 +111,7 @@ struct VPackMessageNoOwnBuffer {
|
||||||
if (_payloads.size() && _generateBody) {
|
if (_payloads.size() && _generateBody) {
|
||||||
return _payloads.front();
|
return _payloads.front();
|
||||||
}
|
}
|
||||||
|
return arangodb::basics::VelocyPackHelper::NullValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<VPackSlice> payloads() { return _payloads; }
|
std::vector<VPackSlice> payloads() { return _payloads; }
|
||||||
|
|
Loading…
Reference in New Issue