summaryrefslogtreecommitdiff
path: root/source/core/slang-persistent-cache.h
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /source/core/slang-persistent-cache.h
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'source/core/slang-persistent-cache.h')
-rw-r--r--source/core/slang-persistent-cache.h6
1 files changed, 3 insertions, 3 deletions
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