|
From: Ralph T. <ra...@us...> - 2005-04-20 18:57:20
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17774/sources/mac Modified Files: metrics.cpp Log Message: Updating Jamfile and metrics.cpp to make visual compile on MacOS with gcc and bjam. Index: metrics.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/mac/metrics.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** metrics.cpp 14 Apr 2005 00:26:32 -0000 1.3 --- metrics.cpp 20 Apr 2005 18:57:11 -0000 1.4 *************** *** 49,53 **** const char* cxstr(xstr.c_str()); std::size_t n(xstr.size()); ! std::stringstream expression_stream(std::string(xstr_t(cxstr, n, context).get())); expression_parser parser(expression_stream, line_position_t("widget_metrics")); array_t expression; --- 49,54 ---- const char* cxstr(xstr.c_str()); std::size_t n(xstr.size()); ! xstr_t the_xstr(cxstr, n, context); ! std::stringstream expression_stream(std::string(the_xstr.get())); expression_parser parser(expression_stream, line_position_t("widget_metrics")); array_t expression; |