Made vector function argument a const reference.
This commit is contained in:
parent
b00532c6d9
commit
abb4264b48
@ -153,7 +153,7 @@ namespace Opm
|
||||
|
||||
namespace
|
||||
{
|
||||
std::vector<double> coordsFromDeltas(const std::vector<double> deltas)
|
||||
std::vector<double> coordsFromDeltas(const std::vector<double>& deltas)
|
||||
{
|
||||
std::vector<double> coords(deltas.size() + 1);
|
||||
coords[0] = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user