[linux-audio-dev] [ot] [rant] gcc, you let me down one time toomany

Jussi Laako jussi.laako at pp.inet.fi
Thu Jun 9 14:39:21 EDT 2005


On Thu, 2005-06-09 at 18:14 +0200, stefan kersten wrote:

> int access(std::vector<int> v, int i)
> { 
>     return v[i];
> }

At least you are making copy here, should be

int access(std::vector<int> &v, int i)


-- 
Jussi Laako <jussi.laako at pp.inet.fi>



More information about the linux-audio-dev mailing list