Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > [EMAIL PROTECTED] writes: | > | Author: younes | > | Date: Tue Sep 26 13:55:46 2006 | > | New Revision: 15155 | > | | URL: http://www.lyx.org/trac/changeset/15155 | > | Log: | > | qt3 and gtk support for revision: 15153 | > | | Modified: | > | lyx-devel/trunk/src/frontends/gtk/GuiImplementation.C | > | lyx-devel/trunk/src/frontends/qt3/GuiImplementation.h | > | | Modified: lyx-devel/trunk/src/frontends/gtk/GuiImplementation.C | > | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/gtk/GuiImplementation.C?rev=15155 | > | ============================================================================== | > | --- lyx-devel/trunk/src/frontends/gtk/GuiImplementation.C (original) | > | +++ lyx-devel/trunk/src/frontends/gtk/GuiImplementation.C Tue Sep 26 13:55:46 2006 | > | @@ -44,7 +44,7 @@ | > | work_area_.reset(new GuiWorkArea(old_screen_.get(), old_work_area_.get())); | > | | // FIXME BufferView creation should be independant of | > WorkArea creation | > | - buffer_views_[0].reset(new BufferView(view_.get())); | > | + buffer_views_[0].reset(new BufferView()); | > this is a bug. It should be: | > buffer_views_[0].reset(new BufferView); | | I agree this is not nice but a bug???
We have seen compilers that won't accept it, unfortunately too many compilers accept it... I am hard pressed to find any references for you... It might even be that I am dead wrong.... and what I am remembering is string s(); // error | I will correct it anyway... Thanks. It is nicer anyway. -- Lgb