changeset 20882:776c0b8c1d07

2015 Code Sprint: time.cc: use ovl ().
author Rik <rik@octave.org>
date Sat, 12 Dec 2015 18:25:55 -0800
parents 7234cbd04292
children c7d881aec36c
files libinterp/corefcn/time.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/time.cc	Sat Dec 12 22:43:59 2015 +0100
+++ b/libinterp/corefcn/time.cc	Sat Dec 12 18:25:55 2015 -0800
@@ -488,7 +488,7 @@
 
   octave_strptime t (str, fmt);
 
-  return ovl (octave_value (mk_tm_map (t)), t.characters_converted ());
+  return ovl (mk_tm_map (t), t.characters_converted ());
 }
 
 /*