mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Remove DECLARE_TYPEOF
It is no longer needed since C++11
This commit is contained in:
@@ -21,10 +21,6 @@
|
||||
#include <wx/datstrm.h>
|
||||
#include <wx/filename.h>
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(String);
|
||||
DECLARE_TYPEOF_COLLECTION(CardP);
|
||||
DECLARE_TYPEOF(map<String COMMA String>);
|
||||
|
||||
String card_rarity_code(const String& rarity);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Generic export dialog
|
||||
@@ -190,8 +186,6 @@ class ApprFormat {
|
||||
String name, sets;
|
||||
};
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(ApprFormat);
|
||||
|
||||
/// An Apprentice format database (Format.dat)
|
||||
class ApprFormatDatabase : public ApprDatabase {
|
||||
public:
|
||||
@@ -276,8 +270,6 @@ class ApprDistro {
|
||||
void writeD(wxTextOutputStream& tout, const String& name, int c, int u, int r);
|
||||
};
|
||||
|
||||
DECLARE_TYPEOF(map<String COMMA ApprDistro>);
|
||||
|
||||
/// An Apprentice distribution database (Distro.dat)
|
||||
class ApprDistroDatabase : public ApprDatabase {
|
||||
public:
|
||||
@@ -362,7 +354,6 @@ String untag_appr(const String& s) {
|
||||
}
|
||||
|
||||
DECLARE_POINTER_TYPE(ApprCardRecord);
|
||||
DECLARE_TYPEOF_COLLECTION(ApprCardRecordP);
|
||||
|
||||
/// An Apprentice card database (cardinfo.dat)
|
||||
class ApprCardDatabase : public ApprDatabase {
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include <render/card/viewer.hpp>
|
||||
#include <wx/filename.h>
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(CardP);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Single card export
|
||||
|
||||
void export_image(const SetP& set, const CardP& card, const String& filename) {
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
#include <util/error.hpp>
|
||||
#include <util/platform.hpp>
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(ControlPointP);
|
||||
DECLARE_TYPEOF_COLLECTION(SymbolPartP);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Image preprocessing
|
||||
|
||||
enum ImageMarker
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
#include <util/tagged_string.hpp>
|
||||
#include <wx/wfstream.h>
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(CardP);
|
||||
|
||||
// ----------------------------------------------------------------------------- : MtgEditorFileFormat
|
||||
|
||||
/// The file format of Mtg Editor files
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include <util/tagged_string.hpp>
|
||||
#include <wx/wfstream.h>
|
||||
|
||||
DECLARE_TYPEOF_COLLECTION(CardP);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Utilities
|
||||
|
||||
/// Convert a tagged string to MWS format: \t\t before each line beyond the first
|
||||
|
||||
Reference in New Issue
Block a user