fix windows and gcc build

This commit is contained in:
Thomas Fussell 2016-10-29 10:36:46 -04:00
parent 82311c96e4
commit 5af753c443
3 changed files with 3 additions and 3 deletions

View File

@ -450,7 +450,7 @@ public:
/// <summary>
/// Get the comment applied to this cell.
/// </summary>
comment comment();
class comment comment();
/// <summary>
/// Apply the comment provided as the ony argument to the cell.

View File

@ -1036,7 +1036,7 @@ void cell::clear_comment()
d_->comment_.clear();
}
comment cell::comment()
class comment cell::comment()
{
if (!has_comment())
{

View File

@ -57,7 +57,7 @@ std::string comment::author() const
return author_;
}
bool operator==(const comment &left, const comment &right)
XLNT_API bool operator==(const comment &left, const comment &right)
{
return left.text_ == right.text_ && left.author_ == right.author_;
}