Found out what my problem was. The problem was that the function declaration in the AbstractPostItem and PostHeaderItem were not the same. The one in PostHeaderItem was a const and the one in AbstractPostItem was not. When I changed that it worked.
Found out what my problem was. The problem was that the function declaration in the AbstractPostItem and PostHeaderItem were not the same. The one in PostHeaderItem was a const and the one in AbstractPostItem was not. When I changed that it worked.
Bookmarks