|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #53443] Variable Editor: openvar VAR should show the tab on which the variable editor is |
Date: | Mon, 9 Apr 2018 03:18:57 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #15, bug #53443 (project octave): > it's merely a comparison of unique numbers I think you just revealed the simplest solution, no casting or type fooling required, just something like if (tbar->tabData(i).value<void*> () == this) Compiles without any warnings for me. And that seems like the clearest possible way yet to do the comparison safely. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53443> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |