Skip to content

Commit

Permalink
[fold] Add comment explaining why template parameter change
Browse files Browse the repository at this point in the history
  • Loading branch information
seelabs committed Nov 3, 2022
1 parent dfa822d commit 5e8626a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ripple/protocol/STBitString.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

namespace ripple {

// The template parameter could be an unsigned type, however there's a bug in
// gdb (last checked in gdb 12.1) that prevents gdb from finding the RTTI
// information of a template parameterized by an unsigned type. This RTTI
// information is needed to write gdb pretty printers.
template <int Bits>
class STBitString final : public STBase
{
Expand Down

0 comments on commit 5e8626a

Please sign in to comment.