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 {
|
||||
explicit ProducesResults(bool b) : BoolWrapper(b){};
|
||||
explicit ProducesResults(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
struct ConsultAqlWriteFilter : BoolWrapper {
|
||||
explicit ConsultAqlWriteFilter(bool b) : BoolWrapper(b){};
|
||||
explicit ConsultAqlWriteFilter(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
struct IgnoreErrors : BoolWrapper {
|
||||
explicit IgnoreErrors(bool b) : BoolWrapper(b){};
|
||||
explicit IgnoreErrors(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
struct DoCount : BoolWrapper {
|
||||
explicit DoCount(bool b) : BoolWrapper(b){};
|
||||
explicit DoCount(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
struct IsReplace : BoolWrapper {
|
||||
explicit IsReplace(bool b) : BoolWrapper(b){};
|
||||
explicit IsReplace(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
|
||||
struct IgnoreDocumentNotFound : BoolWrapper {
|
||||
explicit IgnoreDocumentNotFound(bool b) : BoolWrapper(b){};
|
||||
explicit IgnoreDocumentNotFound(bool b) : BoolWrapper(b){}
|
||||
};
|
||||
|
||||
struct ModificationExecutorInfos : public ExecutorInfos {
|
||||
|
|
|
@ -148,7 +148,7 @@ struct UpdateReplace : ModificationBase {
|
|||
bool doOutput(ModificationExecutorInfos&, OutputAqlItemRow&);
|
||||
|
||||
UpdateReplace() = delete;
|
||||
UpdateReplace(MethodPtr method, std::string name)
|
||||
UpdateReplace(MethodPtr method, std::string&& name)
|
||||
: _method(method), _name(std::move(name)) {}
|
||||
|
||||
void reset() {
|
||||
|
@ -156,8 +156,8 @@ struct UpdateReplace : ModificationBase {
|
|||
_updateOrReplaceBuilder.clear();
|
||||
};
|
||||
|
||||
MethodPtr _method;
|
||||
std::string _name;
|
||||
MethodPtr const _method;
|
||||
std::string const _name;
|
||||
VPackBuilder _updateOrReplaceBuilder;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue