|
From: Kevin M. <sub...@us...> - 2003-02-22 23:07:55
|
subatomic 2003/02/22 15:07:54 PST
Modified files:
cppdom cppdom.h
Log:
use
const std::string& getValue<std::string>() const
instead of
std::string getValue<std::string>() const
since were returning mData, this would be faster (just a pointer instead
of a temporary.)
slightly related, this also fixes a crash bug in one of my applications,
somehow it was dying in the destructor of std::string if I called
getValue<std::string>.... strange. :( all good now though.
Revision Changes Path
1.67 +4 -4 cppdom/cppdom/cppdom.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xml-cppdom/cppdom/cppdom/cppdom.h.diff?r1=1.66&r2=1.67&diff_format=h
|