dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
genetic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Big optimizations and securing code.
[genetic.git]
/
include
/
mutation
/
mutation.h
diff --git
a/include/mutation/mutation.h
b/include/mutation/mutation.h
index ffd7d6384c696dd3ef9461d7e24a8389c0510c87..49b6094649c9bc09b15003df1f89593846746d51 100644
(file)
--- a/
include/mutation/mutation.h
+++ b/
include/mutation/mutation.h
@@
-37,7
+37,7
@@
namespace genetic {
*
* @param chance Chance on which Mutation can occur.
*/
- Mutation(
MutationChanceType
chance) :
+ Mutation(
const MutationChanceType&
chance) :
chance(chance) {
}