Skip to content

Commit

Permalink
fixup! fix string test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael137 committed Sep 16, 2024
1 parent 8b71129 commit d4af03e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@ template <class _CharT, class _Traits, class _Allocator> class basic_string {

__long &getLongRep() {
#if COMPRESSED_PAIR_REV == 0
return __r_.first().__l
return __r_.first().__l;
#elif COMPRESSED_PAIR_REV <= 2
return __rep_.__l;
#endif
}

__short &getShortRep() {
#if COMPRESSED_PAIR_REV == 0
return __r_.first().__s
return __r_.first().__s;
#elif COMPRESSED_PAIR_REV <= 2
return __rep_.__s;
#endif
Expand Down

0 comments on commit d4af03e

Please sign in to comment.