ninety47 / dukascopy

LIbrary for handling binary data from Dukascopy tick files.
GNU General Public License v3.0
26 stars 20 forks source link

Pass by reference instead of by pointer. #6

Closed ninety47 closed 11 years ago

ninety47 commented 11 years ago

Ticketed raised of this bit of coded (check for others):

tick_data* read_bi5(
        unsigned char *lzma_buffer, size_t lzma_buffer_size, 
        pt::ptime epoch, float point_value, size_t *buffer_size);

should be:

tick_data* read_bi5(
        unsigned char *lzma_buffer, size_t lzma_buffer_size, 
        pt::ptime epoch, float point_value, size_t &buffer_size);