Mercurial > octave-nkf
diff libinterp/octave-value/ov-classdef.h @ 20523:a142b62527ef
Fix compilation of classdef with the clang compiler (bug #41178)
* ov-classdef.cc, ov-classdef.h (cdef_object_scalar::mark_as_constructed):
Move function definition out of header file to avoid dependency on incomplete
type, compilation error with clang.
author | akira noda <you.akira.noda@gmail.com> |
---|---|
date | Fri, 21 Aug 2015 13:05:52 -0400 |
parents | 7ac907da9fba |
children | c547458dc10e |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-classdef.h Wed Sep 09 18:43:52 2015 +0200 +++ b/libinterp/octave-value/ov-classdef.h Fri Aug 21 13:05:52 2015 -0400 @@ -438,7 +438,7 @@ void mark_as_constructed (void) { ctor_list.clear (); } - void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); } + void mark_as_constructed (const cdef_class& cls); bool is_constructed (void) const { return ctor_list.empty (); }