mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-09 19:57:28 -08:00
Replace CardInfo* and Carset* with smart pointers (#3053)
* Replace CardInfo* and Carset* with smart pointers * fixes to help memory & c++11 stuff
This commit is contained in:
@@ -19,10 +19,7 @@ CardDatabaseSettings& SettingsCache::cardDatabase() const { return *cardDatabase
|
||||
|
||||
SettingsCache *settingsCache;
|
||||
|
||||
void PictureLoader::clearPixmapCache(CardInfo * /* card */) { }
|
||||
|
||||
// include out main header file _after_ the hack is complete
|
||||
#include "../../cockatrice/src/carddatabase.h"
|
||||
void PictureLoader::clearPixmapCache(CardInfoPtr /* card */) { }
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user