From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- source/core/slang-persistent-cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/core/slang-persistent-cache.h') diff --git a/source/core/slang-persistent-cache.h b/source/core/slang-persistent-cache.h index e7d02b861..9425bf7a2 100644 --- a/source/core/slang-persistent-cache.h +++ b/source/core/slang-persistent-cache.h @@ -18,7 +18,7 @@ class PersistentCache : public RefObject { public: struct Desc - { + { // The root directory for the cache. const char* directory = nullptr; // The maximum number of entries stored in the cache. By default, there is no limit. @@ -49,7 +49,7 @@ public: /// Read an entry from the cache. /// Returns SLANG_OK if successful, SLANG_E_NOT_FOUND if the entry is not in the cache. SlangResult readEntry(const Key& key, ISlangBlob** outData); - + /// Write an entry to the cache. /// Returns SLANG_OK if successful. SlangResult writeEntry(const Key& key, ISlangBlob* data); @@ -88,4 +88,4 @@ private: friend struct PersistentCacheTest; }; -} +} // namespace Slang -- cgit v1.2.3