Big optimizations and securing code.
[genetic.git] / include / mutation / mutation.h
index ffd7d6384c696dd3ef9461d7e24a8389c0510c87..49b6094649c9bc09b15003df1f89593846746d51 100644 (file)
@@ -37,7 +37,7 @@ namespace genetic {
              *
              * @param chance Chance on which Mutation can occur.
              */
-            Mutation(MutationChanceType chance) :
+            Mutation(const MutationChanceType& chance) :
                 chance(chance) {
             }