mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
Fix compile error
This commit is contained in:
parent
cba190bee3
commit
4bb9ecb8eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user