From 5ecf446070d8946d7060f78504307e8c08d675a5 Mon Sep 17 00:00:00 2001 From: Pavol Droba Date: Mon, 16 May 2005 21:03:04 +0000 Subject: [PATCH] Another attempt to fix borland problem. [SVN r28978] --- include/boost/algorithm/string/detail/find_format_store.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/algorithm/string/detail/find_format_store.hpp b/include/boost/algorithm/string/detail/find_format_store.hpp index d2e8cc0..054bdbb 100644 --- a/include/boost/algorithm/string/detail/find_format_store.hpp +++ b/include/boost/algorithm/string/detail/find_format_store.hpp @@ -48,7 +48,8 @@ namespace boost { { iterator_range::operator=(FindResult); #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) - m_FormatResult=format_result_type(m_Formatter(FindResult)); + format_result_type temp(m_Formatter(FindResult)); + m_FormatResult=format_result_type(temp); #else m_FormatResult=m_Formatter(FindResult); #endif