changeset 32576:606ac462fa34 stable

Fix syntax error in e424a55bc9fb (bug #64975). * glob-match.cc (symbol_match::symbol_match): Fix syntax error.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 10 Dec 2023 18:00:59 +0100
parents b08a96c70196
children 19f51c7fa341 3f744873ad4d
files liboctave/util/glob-match.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/glob-match.cc	Sun Dec 10 16:38:40 2023 +0100
+++ b/liboctave/util/glob-match.cc	Sun Dec 10 18:00:59 2023 +0100
@@ -67,7 +67,7 @@
 #if defined (OCTAVE_USE_WINDOWS_API)
   m_glob = nullptr;
 #else
-  m_glob {new glob_match (pattern)};
+  m_glob = std::unique_ptr<glob_match> {new glob_match {pattern}};
 #endif
 }