[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Jun 15 23:08:23 CEST 2004


On June 15, 2004 15:07, Andrew Walker wrote:
> +  virtual const QString& createPlot(const QString& window, const QString&
> name) = 0; virtual const QString& createPlot(const QString& name) = 0;

   You can't return references to local variables.  They become null 
immediately after return since the stack is destroyed.  I fixed the 
occurances I noticed in CVS.

-- 
George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/



More information about the Kst mailing list