diff data/model/RangeSummarisableTimeValueModel.h @ 225:185454896a76

* Return ranges from RangeSummarisableTimeValueModel::getRanges by references instead of by return value. Trying to isolate a Win32 problem.
author Chris Cannam
date Wed, 07 Feb 2007 14:21:14 +0000
parents 0ed2b2e26b44
children c022976d18e8
line wrap: on
line diff
--- a/data/model/RangeSummarisableTimeValueModel.h	Thu Feb 01 14:31:28 2007 +0000
+++ b/data/model/RangeSummarisableTimeValueModel.h	Wed Feb 07 14:21:14 2007 +0000
@@ -58,8 +58,9 @@
      * parameter so as to return the block size that was actually
      * obtained.
      */
-    virtual RangeBlock getRanges(size_t channel, size_t start, size_t end,
-				 size_t &blockSize) const = 0;
+    virtual void getRanges(size_t channel, size_t start, size_t end,
+                           RangeBlock &ranges,
+                           size_t &blockSize) const = 0;
 
     /**
      * Return the range between the given start and end frames,