Fixed build on FreeBSD according to the advice from Vitaly @hellvesper

This commit is contained in:
Alexey Milovidov 2020-04-12 23:05:58 +03:00
parent 8cb4dd275a
commit 20dcc4decd

View File

@ -17,7 +17,7 @@ public:
uint64_t get() const { return rows_before_limit.load(std::memory_order_acquire); } uint64_t get() const { return rows_before_limit.load(std::memory_order_acquire); }
void setAppliedLimit() { has_applied_limit.store(true, std::memory_order::release); } void setAppliedLimit() { has_applied_limit.store(true, std::memory_order_release); }
bool hasAppliedLimit() const { return has_applied_limit.load(std::memory_order_acquire); } bool hasAppliedLimit() const { return has_applied_limit.load(std::memory_order_acquire); }
private: private: