1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

chore(build): fixes to satisfy clang19 warnings

This commit is contained in:
Leonid Fedorov
2025-05-08 15:26:36 +00:00
committed by Leonid Fedorov
parent 9fd7f342a7
commit a0bee173f6
334 changed files with 3062 additions and 3323 deletions

View File

@@ -167,9 +167,11 @@ class FIFO : public DataListImpl<std::vector<element_t>, element_t>
uint64_t blockedInsertWriteCount;
uint64_t blockedNextReadCount;
FIFO& operator=(const FIFO&);
FIFO(const FIFO&);
FIFO();
FIFO& operator=(const FIFO&) = delete;
FIFO(const FIFO&) = delete;
FIFO& operator=(FIFO&&) = delete;
FIFO(FIFO&&) = delete;
FIFO() = delete;
void signalPs();
bool swapBuffers(bool waitIfBlocked = true);
@@ -207,24 +209,6 @@ FIFO<element_t>::FIFO(uint32_t con, uint32_t max) : DataListImpl<std::vector<ele
blockedInsertWriteCount = blockedNextReadCount = 0;
}
template <typename element_t>
FIFO<element_t>::FIFO()
{
throw std::logic_error("don't use FIFO()");
}
template <typename element_t>
FIFO<element_t>::FIFO(const FIFO<element_t>& f)
{
throw std::logic_error("don't use FIFO(FIFO &)");
}
template <typename element_t>
FIFO<element_t>& FIFO<element_t>::operator=(const FIFO<element_t>& f)
{
throw std::logic_error("don't use FIFO:: =");
}
template <typename element_t>
FIFO<element_t>::~FIFO()
{