From 6bbc51c058ebcf5e7fea318187c94f986f8941c7 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 23 Jul 2003 17:50:45 +0000 Subject: [PATCH] Fix an oversight/inefficiency spotted by Frederic Bouvier. We were passing a *copy* of a very large data set to a function. --- src/Replay/replay.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Replay/replay.cxx b/src/Replay/replay.cxx index 830e9ca25..659c7b387 100644 --- a/src/Replay/replay.cxx +++ b/src/Replay/replay.cxx @@ -372,7 +372,7 @@ static FGReplayData interpolate( double time, FGReplayData f1, FGReplayData f2 ) /** * interpolate a specific time from a specific list */ -static void interpolate( double time, replay_list_type list ) { +static void interpolate( double time, const replay_list_type &list ) { // sanity checking if ( list.size() == 0 ) { // handle empty list -- 2.39.5