summaryrefslogtreecommitdiff
path: root/math/octave/files/patch-libinterp-octave-value-ov-classdef.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave/files/patch-libinterp-octave-value-ov-classdef.cc')
-rw-r--r--math/octave/files/patch-libinterp-octave-value-ov-classdef.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/octave/files/patch-libinterp-octave-value-ov-classdef.cc b/math/octave/files/patch-libinterp-octave-value-ov-classdef.cc
new file mode 100644
index 000000000000..5280dad9cd8c
--- /dev/null
+++ b/math/octave/files/patch-libinterp-octave-value-ov-classdef.cc
@@ -0,0 +1,14 @@
+--- libinterp/octave-value/ov-classdef.cc.orig 2015-07-21 17:05:21.000000000 +0900
++++ libinterp/octave-value/ov-classdef.cc 2015-07-21 17:05:32.000000000 +0900
+@@ -1937,6 +1937,11 @@
+ return true;
+ }
+
++void cdef_object_scalar::mark_as_constructed (const cdef_class& cls)
++{
++ ctor_list.erase (cls);
++}
++
+ handle_cdef_object::~handle_cdef_object (void)
+ {
+ #if DEBUG_TRACE