|
From: <mor...@us...> - 2010-04-02 07:47:01
|
Revision: 3831
http://ecell.svn.sourceforge.net/ecell/?rev=3831&view=rev
Author: moriyoshi
Date: 2010-04-02 07:46:55 +0000 (Fri, 02 Apr 2010)
Log Message:
-----------
* Prevent unnecessary copy generation of VariableReference
Modified Paths:
--------------
ecell3/trunk/ecell/dm/MassActionFluxProcess.cpp
Modified: ecell3/trunk/ecell/dm/MassActionFluxProcess.cpp
===================================================================
--- ecell3/trunk/ecell/dm/MassActionFluxProcess.cpp 2010-04-02 07:41:58 UTC (rev 3830)
+++ ecell3/trunk/ecell/dm/MassActionFluxProcess.cpp 2010-04-02 07:46:55 UTC (rev 3831)
@@ -70,7 +70,7 @@
theVariableReferenceVector.begin() );
s != theZeroVariableReferenceIterator; ++s )
{
- VariableReference aVariableReference( *s );
+ VariableReference const& aVariableReference( *s );
Integer aCoefficient( aVariableReference.getCoefficient() );
do
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|