diff --git a/benchmarks/LionBenchmark/SomeRocks.cpp b/benchmarks/LionBenchmark/SomeRocks.cpp index 76174d4a1..30edd256c 100644 --- a/benchmarks/LionBenchmark/SomeRocks.cpp +++ b/benchmarks/LionBenchmark/SomeRocks.cpp @@ -5,7 +5,8 @@ void SomeRocks(Painter& sw) static Painting rocks; ONCELOCK { - rocks.Serialize(FileIn(GetDataFile("SomeRocks.painting"))); + FileIn in(GetDataFile("SomeRocks.painting")); + rocks.Serialize(in); } sw.EvenOdd(); diff --git a/benchmarks/idmapBench/idmapBench.upp b/benchmarks/idmapBench/idmapBench.upp index a3ea3611a..83154451e 100644 --- a/benchmarks/idmapBench/idmapBench.upp +++ b/benchmarks/idmapBench/idmapBench.upp @@ -1,7 +1,5 @@ description "C++ standard library vs. U++ Core benchmark\377"; -optimize_speed; - uses Core;