FactorFriend is a struct not a class. For clang.

This commit is contained in:
Kenneth Heafield 2012-05-04 11:21:25 -04:00
parent 2ceeba8dfc
commit 58252d12c2

View File

@ -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;