This commit is contained in:
2021-08-28 12:13:14 +02:00
parent ee4ad9a28d
commit e5ccf0879c
2 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <atomic>
#include <vector>
@@ -27,7 +34,7 @@ namespace openVulkanoCpp
~ReadOnlyAtomicArrayQueue() = default;
size_t GetSize() const
[[nodiscard]] size_t GetSize() const
{
return size.load(std::memory_order_relaxed);
}