• Ben Boeckel's avatar
    ReusableArray: fix build error on GCC7 · 9dfedbe6
    Ben Boeckel authored
    GCC7 outputs the following error without this change:
    
        src/util/ReusableArray.hxx:61:35: error: no matching function for call to ‘swap(size_t&, const size_t&)’
           std::swap(capacity, src.capacity);
    
    which can be resolved by just using an rvalue-reference rather than a
    const rvalue-reference.
    Signed-off-by: 's avatarBen Boeckel <mathstuf@gmail.com>
    9dfedbe6
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...