Fix compile error

This commit is contained in:
bhaddow 2011-11-14 16:45:36 +00:00
parent cba190bee3
commit 4bb9ecb8eb

View File

@ -50,7 +50,7 @@ const Factor *FactorCollection::AddFactor(const StringPiece &factorString)
if (i != m_set.end()) return &i->in;
}
boost::unique_lock<boost::shared_mutex> lock(m_accessLock);
#if BOOST_VERSION >= 102400
#if BOOST_VERSION >= 104200
FactorFriend to_ins;
to_ins.in.m_string.assign(factorString.data(), factorString.size());
#endif // BOOST_VERSION