Skip to content

Commit 6ad0d24

Browse files
committed
fixup! fix string test compilation
1 parent dc70923 commit 6ad0d24

File tree

1 file changed

+2
-2
lines changed
  • lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string

1 file changed

+2
-2
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ template <class _CharT, class _Traits, class _Allocator> class basic_string {
185185

186186
__long &getLongRep() {
187187
#if COMPRESSED_PAIR_REV == 0
188-
return __r_.first().__l
188+
return __r_.first().__l;
189189
#elif COMPRESSED_PAIR_REV <= 2
190190
return __rep_.__l;
191191
#endif
192192
}
193193

194194
__short &getShortRep() {
195195
#if COMPRESSED_PAIR_REV == 0
196-
return __r_.first().__s
196+
return __r_.first().__s;
197197
#elif COMPRESSED_PAIR_REV <= 2
198198
return __rep_.__s;
199199
#endif

0 commit comments

Comments
 (0)