Closed cvonelm closed 1 year ago
Recent GCC versions complain about a possible dangling reference to a temporary.
Fix this warning by returning a copy of the EventDescription instead, as all code paths copy the EventDescription in the end anyways.
This fixes #281.
Recent GCC versions complain about a possible dangling reference to a temporary.
Fix this warning by returning a copy of the EventDescription instead, as all code paths copy the EventDescription in the end anyways.
This fixes #281.