aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina/Mutation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/machina/Mutation.hpp')
-rw-r--r--src/engine/machina/Mutation.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/engine/machina/Mutation.hpp b/src/engine/machina/Mutation.hpp
index 437165f..dd2dbbf 100644
--- a/src/engine/machina/Mutation.hpp
+++ b/src/engine/machina/Mutation.hpp
@@ -21,10 +21,10 @@
#include "machina_config.h"
#ifdef HAVE_EUGENE
- #include "eugene/Mutation.hpp"
- #define SUPER : public Eugene::Mutation<Machine>
+# include "eugene/Mutation.hpp"
+# define SUPER : public Eugene::Mutation <Machine>
#else
- #define SUPER : public Mutation
+# define SUPER : public Mutation
#endif
namespace Machina {
@@ -33,7 +33,11 @@ class Machine;
namespace Mutation {
-struct Mutation { virtual ~Mutation() {}; virtual void mutate(Machine& machine) = 0; };
+struct Mutation {
+ virtual ~Mutation() {}
+
+ virtual void mutate(Machine& machine) = 0;
+};
struct Compress SUPER { void mutate(Machine& machine); };
struct AddNode SUPER { void mutate(Machine& machine); };