mirror of https://gitee.com/bigwinds/arangodb
backport: explicitly document implicit behaviour
This commit is contained in:
parent
a69e4a63d0
commit
4c566a6889
|
@ -135,6 +135,12 @@ struct TRI_vocbase_t {
|
|||
TEST_VIRTUAL ~TRI_vocbase_t();
|
||||
|
||||
private:
|
||||
// explicitly document implicit behaviour (due to presence of locks)
|
||||
TRI_vocbase_t(TRI_vocbase_t&&) = delete;
|
||||
TRI_vocbase_t(TRI_vocbase_t const&) = delete;
|
||||
TRI_vocbase_t& operator=(TRI_vocbase_t&&) = delete;
|
||||
TRI_vocbase_t& operator=(TRI_vocbase_t const&) = delete;
|
||||
|
||||
/// @brief sleep interval used when polling for a loading collection's status
|
||||
static constexpr unsigned collectionStatusPollInterval() { return 10 * 1000; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue