restore declaration inline specifier, and make definition match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,7 +133,7 @@ public:
|
||||
|
||||
bool Read(wxInputStream& in);
|
||||
bool Write(wxOutputStream& out);
|
||||
bool WriteField(wxOutputStream& out, int id);
|
||||
inline bool WriteField(wxOutputStream& out, int id);
|
||||
|
||||
bool IsAllZeros() const;
|
||||
wxUint32 Sum(bool SignedSum = false);
|
||||
@@ -247,7 +247,7 @@ bool wxTarHeaderBlock::Write(wxOutputStream& out)
|
||||
return ok;
|
||||
}
|
||||
|
||||
bool wxTarHeaderBlock::WriteField(wxOutputStream& out, int id)
|
||||
inline bool wxTarHeaderBlock::WriteField(wxOutputStream& out, int id)
|
||||
{
|
||||
return out.Write(Get(id), Len(id)).LastWrite() == Len(id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user