From dd9f1bf7592327c56e3367972b206e6213fbf123 Mon Sep 17 00:00:00 2001 From: sv-esk Date: Tue, 8 Mar 2016 18:30:44 +0200 Subject: [PATCH] make world friend of machine and building handlers to allow use their protected constructor --- library/include/df/custom/building_handler.methods.inc | 1 + library/include/df/custom/machine_handler.methods.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 library/include/df/custom/building_handler.methods.inc create mode 100644 library/include/df/custom/machine_handler.methods.inc diff --git a/library/include/df/custom/building_handler.methods.inc b/library/include/df/custom/building_handler.methods.inc new file mode 100644 index 000000000..c160f5470 --- /dev/null +++ b/library/include/df/custom/building_handler.methods.inc @@ -0,0 +1 @@ +friend struct df::world; diff --git a/library/include/df/custom/machine_handler.methods.inc b/library/include/df/custom/machine_handler.methods.inc new file mode 100644 index 000000000..c160f5470 --- /dev/null +++ b/library/include/df/custom/machine_handler.methods.inc @@ -0,0 +1 @@ +friend struct df::world;