summaryrefslogtreecommitdiff
path: root/test/group.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 04:21:03 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 04:21:03 +0500
commit4810610dafb8ed93dd3672e32256997e22eca950 (patch)
treee0db960825627acbe94a71f773ca3ac36617869f /test/group.cxx
parentf93978aba486bf0fea8d9ee857d014a02f3f7d96 (diff)
wip
Diffstat (limited to 'test/group.cxx')
-rw-r--r--test/group.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/group.cxx b/test/group.cxx
index 2e661f560..307d99c17 100644
--- a/test/group.cxx
+++ b/test/group.cxx
@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
g2->end();
- auto bt = new Fl_Button(10, wh + 20, ww - 20, 40, "Move children ...");
+ Fl_Button *bt = new Fl_Button(10, wh + 20, ww - 20, 40, "Move children ...");
bt->callback(button_cb);
tty = new Fl_Terminal(10, wh + 80, ww - 20, th);
@@ -138,10 +138,10 @@ int main(int argc, char **argv) {
int ret = Fl::run();
// reset pointers to give memory checkers a chance to test for leaks
- g1 = g2 = nullptr;
- tty = nullptr;
- b1 = b2 = b3 = b4 = nullptr;
- bt = nullptr;
+ g1 = g2 = 0;
+ tty = 0;
+ b1 = b2 = b3 = b4 = 0;
+ bt = 0;
delete window;
return ret;