fix undefined reference
This commit is contained in:
parent
fb35fa5ed2
commit
b422c15008
4
vk.h
4
vk.h
@ -11,7 +11,9 @@ namespace vk {
|
||||
using namespace http;
|
||||
|
||||
struct Post {
|
||||
Post(long id, long date, long editDate, long fromId, std::string postType, std::string text);
|
||||
inline Post(long id, long date, long editDate, long fromId, std::string postType, std::string text)
|
||||
: id(id), date(date), editDate(editDate), fromId(fromId), postType(postType), text(text)
|
||||
{}
|
||||
|
||||
long id, date, editDate, fromId;
|
||||
std::string postType, text;
|
||||
|
Loading…
Reference in New Issue
Block a user