Cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user