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-string-slice-index-map.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/core/slang-string-slice-index-map.cpp') diff --git a/source/core/slang-string-slice-index-map.cpp b/source/core/slang-string-slice-index-map.cpp index d147556e4..dded10537 100644 --- a/source/core/slang-string-slice-index-map.cpp +++ b/source/core/slang-string-slice-index-map.cpp @@ -5,7 +5,9 @@ namespace Slang // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! StringSliceIndexMap !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -StringSliceIndexMap::CountIndex StringSliceIndexMap::add(const UnownedStringSlice& key, Index valueIndex) +StringSliceIndexMap::CountIndex StringSliceIndexMap::add( + const UnownedStringSlice& key, + Index valueIndex) { StringSlicePool::Handle handle; m_pool.findOrAdd(key, handle); @@ -22,7 +24,9 @@ StringSliceIndexMap::CountIndex StringSliceIndexMap::add(const UnownedStringSlic return countIndex; } -StringSliceIndexMap::CountIndex StringSliceIndexMap::findOrAdd(const UnownedStringSlice& key, Index defaultValueIndex) +StringSliceIndexMap::CountIndex StringSliceIndexMap::findOrAdd( + const UnownedStringSlice& key, + Index defaultValueIndex) { StringSlicePool::Handle handle; m_pool.findOrAdd(key, handle); -- cgit v1.2.3