mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
FactorFriend is a struct not a class. For clang.
This commit is contained in:
parent
2ceeba8dfc
commit
58252d12c2
@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
namespace Moses
|
||||
{
|
||||
|
||||
class FactorFriend;
|
||||
struct FactorFriend;
|
||||
class FactorCollection;
|
||||
|
||||
/** Represents a factor (word, POS, etc).
|
||||
@ -43,7 +43,7 @@ class Factor
|
||||
|
||||
// only these classes are allowed to instantiate this class
|
||||
friend class FactorCollection;
|
||||
friend class FactorFriend;
|
||||
friend struct FactorFriend;
|
||||
|
||||
// FactorCollection writes here.
|
||||
std::string m_string;
|
||||
|
Loading…
Reference in New Issue
Block a user