freebsd-ports/print/lyx15/files/patch-boost::boost::format::feed_args.hpp
Thierry Thomas 52c651db27 - Fix LyX build with gcc3.4;
- take maintainership.

PR:		ports/70095
Submitted by:	Andrew Thompson
Obtained from:	NetBSD.
2004-08-07 22:32:25 +00:00

13 lines
466 B
C++

$NetBSD$
--- ./boost/boost/format/feed_args.hpp.orig 2002-11-20 10:20:54.000000000 -0700
+++ ./boost/boost/format/feed_args.hpp
@@ -34,7 +34,7 @@ namespace {
template<class Tr, class Ch> inline
void empty_buf(BOOST_IO_STD basic_ostringstream<Ch,Tr> & os) {
- static const std::basic_string<Ch, Tr> emptyStr; // avoids 2 cases ( "" and L"" )
+ const std::basic_string<Ch, Tr> emptyStr; // avoids 2 cases ( "" and L"" )
os.str(emptyStr);
}