diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-12-10 05:12:29 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-12-10 05:12:29 +0000 |
commit | 9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb (patch) | |
tree | 1dcff95ec78d3a9837661037a5a15278cd675692 /graphics/evolvotron | |
parent | c9f337209be794cb9f3b9f80e349939997962fad (diff) | |
download | ports-9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb.tar.gz ports-9b6529af9b1f2d29f9f8a0f8bd8d8ebe4adb34cb.zip |
Notes
Diffstat (limited to 'graphics/evolvotron')
-rw-r--r-- | graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp b/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp new file mode 100644 index 000000000000..5bb0a07d75f5 --- /dev/null +++ b/graphics/evolvotron/files/patch-evolvotron_match::evolvotron_match.cpp @@ -0,0 +1,20 @@ +--- evolvotron_match/evolvotron_match.cpp.orig Mon Jul 12 02:05:44 2004 ++++ evolvotron_match/evolvotron_match.cpp Thu Dec 9 20:07:52 2004 +@@ -187,13 +187,15 @@ + { + do + { +- new_imagefn=std::auto_ptr<const MutatableImage>(new MutatableImage(mutation_parameters,true,true,false)); ++ std::auto_ptr<const MutatableImage> tmp(new MutatableImage(mutation_parameters,true,true,false)); ++ new_imagefn=tmp; + } + while (new_imagefn->is_constant()); + } + else + { +- new_imagefn=std::auto_ptr<const MutatableImage>(best_imagefn->mutated(mutation_parameters)); ++ std::auto_ptr<const MutatableImage> tmp(best_imagefn->mutated(mutation_parameters)); ++ new_imagefn=tmp; + } + + |