|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59122] jsonencode change's user's warning setting for "Octave:classdef-to-struct" |
Date: | Fri, 18 Sep 2020 15:02:16 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 |
Update of bug #59122 (project octave): Status: Ready For Test => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #3: Thanks Markus, this works for me. I made a small change in this cset http://hg.savannah.gnu.org/hgweb/octave/rev/f4ed4be5d809. Declaring a static function that consists of a single line feels like a heavyweight solution. Instead, I used the C++ lambda feature (anonymous, lightweight function). I think it makes the code a little easier to read since I declare the cleanup action immediately before adding it the unwind protect frame. Marking as fixed and closing report. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59122> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |