Skip to content

Commit

Permalink
Aligned Boost-Pretty-Printer with Boost 1.74 and gdb v12 (ruediger#60,
Browse files Browse the repository at this point in the history
  • Loading branch information
kubajal committed Mar 11, 2023
1 parent 60da4b4 commit 3b661cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boost/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def __init__(self, value):
# In Python 2 we add a __dict__ attribute explicitly.
if have_python_2:
self.__dict__ = {}
gdb.Value.__init__(value)
gdb.Value.__init__(self, val=value)
self.qualifiers = get_type_qualifiers(value.type)
self.basic_type = get_basic_type(value.type)
self.type_name = str(self.basic_type)
Expand Down Expand Up @@ -778,4 +778,4 @@ def recognize(self, t):
options = {'hide_intrusive_hooks': True}

# Latest boost currently supported by printers
last_supported_boost_version = (1, 73, 0)
last_supported_boost_version = (1, 999, 0)

0 comments on commit 3b661cb

Please sign in to comment.