mirror of https://gitee.com/bigwinds/arangodb
make tools complain less
This commit is contained in:
parent
83ed1d85eb
commit
04fe5f816c
|
@ -102,23 +102,23 @@ struct BoolWrapper {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ProducesResults : BoolWrapper {
|
struct ProducesResults : BoolWrapper {
|
||||||
explicit ProducesResults(bool b) : BoolWrapper(b){};
|
explicit ProducesResults(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
struct ConsultAqlWriteFilter : BoolWrapper {
|
struct ConsultAqlWriteFilter : BoolWrapper {
|
||||||
explicit ConsultAqlWriteFilter(bool b) : BoolWrapper(b){};
|
explicit ConsultAqlWriteFilter(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
struct IgnoreErrors : BoolWrapper {
|
struct IgnoreErrors : BoolWrapper {
|
||||||
explicit IgnoreErrors(bool b) : BoolWrapper(b){};
|
explicit IgnoreErrors(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
struct DoCount : BoolWrapper {
|
struct DoCount : BoolWrapper {
|
||||||
explicit DoCount(bool b) : BoolWrapper(b){};
|
explicit DoCount(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
struct IsReplace : BoolWrapper {
|
struct IsReplace : BoolWrapper {
|
||||||
explicit IsReplace(bool b) : BoolWrapper(b){};
|
explicit IsReplace(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct IgnoreDocumentNotFound : BoolWrapper {
|
struct IgnoreDocumentNotFound : BoolWrapper {
|
||||||
explicit IgnoreDocumentNotFound(bool b) : BoolWrapper(b){};
|
explicit IgnoreDocumentNotFound(bool b) : BoolWrapper(b){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ModificationExecutorInfos : public ExecutorInfos {
|
struct ModificationExecutorInfos : public ExecutorInfos {
|
||||||
|
|
|
@ -148,7 +148,7 @@ struct UpdateReplace : ModificationBase {
|
||||||
bool doOutput(ModificationExecutorInfos&, OutputAqlItemRow&);
|
bool doOutput(ModificationExecutorInfos&, OutputAqlItemRow&);
|
||||||
|
|
||||||
UpdateReplace() = delete;
|
UpdateReplace() = delete;
|
||||||
UpdateReplace(MethodPtr method, std::string name)
|
UpdateReplace(MethodPtr method, std::string&& name)
|
||||||
: _method(method), _name(std::move(name)) {}
|
: _method(method), _name(std::move(name)) {}
|
||||||
|
|
||||||
void reset() {
|
void reset() {
|
||||||
|
@ -156,8 +156,8 @@ struct UpdateReplace : ModificationBase {
|
||||||
_updateOrReplaceBuilder.clear();
|
_updateOrReplaceBuilder.clear();
|
||||||
};
|
};
|
||||||
|
|
||||||
MethodPtr _method;
|
MethodPtr const _method;
|
||||||
std::string _name;
|
std::string const _name;
|
||||||
VPackBuilder _updateOrReplaceBuilder;
|
VPackBuilder _updateOrReplaceBuilder;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue