summaryrefslogtreecommitdiff
path: root/src/init2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:49:38 +0200
commit551339813797a9b274ccf5f3f0c4f0d0b44cbf64 (patch)
treef5d0547b0bc2de85caadc23526b489ecef762420 /src/init2.cc
parentc25b265c056a4512b0fb0e1789927e6c4b7b32cf (diff)
Remove "allocate" member function from the x_info traits
Diffstat (limited to 'src/init2.cc')
-rw-r--r--src/init2.cc93
1 files changed, 0 insertions, 93 deletions
diff --git a/src/init2.cc b/src/init2.cc
index 9590633e..bb909328 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -275,11 +275,6 @@ namespace {
static constexpr char const *name = "f_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_f_info_txt(fp);
@@ -291,11 +286,6 @@ namespace {
static constexpr char const *name = "k_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_k_info_txt(fp);
@@ -307,11 +297,6 @@ namespace {
static constexpr char const *name = "set_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_set_info_txt(fp);
@@ -323,11 +308,6 @@ namespace {
static constexpr char const *name = "a_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_a_info_txt(fp);
@@ -339,11 +319,6 @@ namespace {
static constexpr char const *name = "s_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_s_info_txt(fp);
@@ -355,11 +330,6 @@ namespace {
static constexpr char const *name = "ab_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_ab_info_txt(fp);
@@ -371,11 +341,6 @@ namespace {
static constexpr char const *name = "e_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_e_info_txt(fp);
@@ -387,11 +352,6 @@ namespace {
static constexpr char const *name = "ra_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_ra_info_txt(fp);
@@ -403,11 +363,6 @@ namespace {
static constexpr char const *name = "r_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_r_info_txt(fp);
@@ -419,11 +374,6 @@ namespace {
static constexpr char const *name = "re_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_re_info_txt(fp);
@@ -435,11 +385,6 @@ namespace {
static constexpr char const *name = "d_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_d_info_txt(fp);
@@ -451,11 +396,6 @@ namespace {
static constexpr char const *name = "st_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_st_info_txt(fp);
@@ -467,11 +407,6 @@ namespace {
static constexpr char const *name = "ow_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_ow_info_txt(fp);
@@ -483,11 +418,6 @@ namespace {
static constexpr char const *name = "ba_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_ba_info_txt(fp);
@@ -499,11 +429,6 @@ namespace {
static constexpr char const *name = "wf_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_wf_info_txt(fp);
@@ -515,11 +440,6 @@ namespace {
static constexpr char const *name = "tr_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_t_info_txt(fp);
@@ -531,11 +451,6 @@ namespace {
static constexpr char const *name = "v_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_v_info_txt(fp);
@@ -547,11 +462,6 @@ namespace {
static constexpr char const *name = "p_info.txt";
- static void allocate()
- {
- // Nothing to do
- }
-
static errr parse(FILE *fp)
{
return init_player_info_txt(fp);
@@ -563,9 +473,6 @@ namespace {
template<typename T> static errr init_x_info() {
- /* Allocate the data array */
- T::allocate();
-
/* Build the filename */
boost::filesystem::path path(ANGBAND_DIR_EDIT);
path /= T::name;