projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add virtual destructor to tui_layout_base
[deliverable/binutils-gdb.git]
/
gdb
/
ui-style.h
diff --git
a/gdb/ui-style.h
b/gdb/ui-style.h
index 24b4b59ed9f55477a5b151c9a88552efe787e200..d2e9c1362631ac872c9b423c0f682a95ff15443f 100644
(file)
--- a/
gdb/ui-style.h
+++ b/
gdb/ui-style.h
@@
-223,6
+223,12
@@
struct ui_file_style
BUF. */
bool parse (const char *buf, size_t *n_read);
+ /* We need this because we can't pass a reference via va_args. */
+ const ui_file_style *ptr () const
+ {
+ return this;
+ }
+
private:
color m_foreground = NONE;
This page took
0.036733 seconds
and
4
git commands to generate.