1
0
Fork 0

backport: explicitly document implicit behaviour

This commit is contained in:
Vasiliy 2018-04-13 15:22:18 +03:00
parent a69e4a63d0
commit 4c566a6889
1 changed files with 6 additions and 0 deletions

View File

@ -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; }