aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-10-01 11:02:19 +0200
committerPer Larsson <[email protected]>2021-10-01 11:02:19 +0200
commit9fc0d2d328c71f6e485fc1a054e2ac89bf654f62 (patch)
treedeeca6412abae932c985829b7c7b520983b276fd
parentstructured cache: fixed how HEAD requests are handled (diff)
downloadzen-9fc0d2d328c71f6e485fc1a054e2ac89bf654f62.tar.xz
zen-9fc0d2d328c71f6e485fc1a054e2ac89bf654f62.zip
Clang format fix.
-rw-r--r--zencore/filesystem.cpp2
-rw-r--r--zencore/include/zencore/refcount.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp
index a06c00e41..1d6b2f61c 100644
--- a/zencore/filesystem.cpp
+++ b/zencore/filesystem.cpp
@@ -815,7 +815,7 @@ TEST_CASE("filesystem")
using namespace std::filesystem;
// GetExePath
- path BinPath = GetRunningExecutablePath();
+ path BinPath = GetRunningExecutablePath();
const bool ExpectedExe = BinPath.stem() == "zencore-test" || BinPath.stem() == "zenserver-test";
CHECK(ExpectedExe);
CHECK(is_regular_file(BinPath));
diff --git a/zencore/include/zencore/refcount.h b/zencore/include/zencore/refcount.h
index 0a1e15614..320718f5b 100644
--- a/zencore/include/zencore/refcount.h
+++ b/zencore/include/zencore/refcount.h
@@ -17,7 +17,7 @@ namespace zen {
class RefCounted
{
public:
- RefCounted() = default;
+ RefCounted() = default;
virtual ~RefCounted() = default;
inline uint32_t AddRef() const { return AtomicIncrement(const_cast<RefCounted*>(this)->m_RefCount); }