diff options
Diffstat (limited to 'gdbsupport/gdb_splay_tree.h')
-rw-r--r-- | gdbsupport/gdb_splay_tree.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdbsupport/gdb_splay_tree.h b/gdbsupport/gdb_splay_tree.h index 22d9bf6..51de188 100644 --- a/gdbsupport/gdb_splay_tree.h +++ b/gdbsupport/gdb_splay_tree.h @@ -22,14 +22,12 @@ #include "splay-tree.h" -namespace gdb { +namespace gdb +{ struct splay_tree_deleter { - void operator() (splay_tree tree) const - { - splay_tree_delete (tree); - } + void operator() (splay_tree tree) const { splay_tree_delete (tree); } }; } /* namespace gdb */ @@ -37,6 +35,6 @@ struct splay_tree_deleter /* A unique pointer to a splay tree. */ typedef std::unique_ptr<splay_tree_s, gdb::splay_tree_deleter> - gdb_splay_tree_up; + gdb_splay_tree_up; #endif /* COMMON_GDB_SPLAY_TREE_H */ |