mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix windows and gcc build
This commit is contained in:
parent
82311c96e4
commit
5af753c443
|
@ -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.
|
||||
|
|
|
@ -1036,7 +1036,7 @@ void cell::clear_comment()
|
|||
d_->comment_.clear();
|
||||
}
|
||||
|
||||
comment cell::comment()
|
||||
class comment cell::comment()
|
||||
{
|
||||
if (!has_comment())
|
||||
{
|
||||
|
|
|
@ -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_;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user