mirror of https://gitee.com/bigwinds/arangodb
cppcheck
This commit is contained in:
parent
0a1ab07c64
commit
d5de286568
|
@ -75,10 +75,10 @@ class HashedCollectExecutorInfos : public ExecutorInfos {
|
|||
std::vector<std::string> getAggregateTypes () const {
|
||||
return _aggregateTypes;
|
||||
}
|
||||
bool getCount() const noexcept { return _count; };
|
||||
bool getCount() const noexcept { return _count; }
|
||||
transaction::Methods* getTransaction() const { return _trxPtr; }
|
||||
RegisterId getInputRegister() const noexcept { return _inputRegister; };
|
||||
RegisterId getCollectRegister() const noexcept { return _collectRegister; };
|
||||
RegisterId getInputRegister() const noexcept { return _inputRegister; }
|
||||
RegisterId getCollectRegister() const noexcept { return _collectRegister; }
|
||||
|
||||
private:
|
||||
// This is exactly the value in the parent member ExecutorInfo::_inRegs,
|
||||
|
@ -143,7 +143,7 @@ class HashedCollectExecutor {
|
|||
using GroupValueType = std::unique_ptr<AggregateValuesType>;
|
||||
using GroupMapType = std::unordered_map<GroupKeyType, GroupValueType, AqlValueGroupHash, AqlValueGroupEqual>;
|
||||
|
||||
Infos const& infos() const noexcept { return _infos; };
|
||||
Infos const& infos() const noexcept { return _infos; }
|
||||
|
||||
/**
|
||||
* @brief Shall be executed until it returns DONE, then never again.
|
||||
|
|
|
@ -35,7 +35,7 @@ struct ShortestPathOptions;
|
|||
|
||||
class ShortestPathFinder {
|
||||
protected:
|
||||
ShortestPathFinder(ShortestPathOptions& options);
|
||||
explicit ShortestPathFinder(ShortestPathOptions& options);
|
||||
|
||||
public:
|
||||
virtual ~ShortestPathFinder() {}
|
||||
|
|
|
@ -115,7 +115,7 @@ struct AQLStandaloneContext final : public SmartContext {
|
|||
/// that do not send the transaction ID header
|
||||
struct SimpleSmartContext final : public SmartContext {
|
||||
|
||||
SimpleSmartContext(TRI_vocbase_t& vocbase);
|
||||
explicit SimpleSmartContext(TRI_vocbase_t& vocbase);
|
||||
|
||||
/// @brief get parent transaction (if any)
|
||||
TransactionState* getParentTransaction() const override;
|
||||
|
|
Loading…
Reference in New Issue