Use std::exchange instead of two swaps
tree41b015eeaedfce5201e8c76931bf4492e3870560
drwxr-xr-x - .github
-rw-r--r-- 85 .gitignore
-rw-r--r-- 3898 .travis.yml
-rw-r--r-- 1652 BSD-3Clause
-rw-r--r-- 60508 CMakeLists.txt
-rw-r--r-- 23330 COPYING
-rw-r--r-- 20556 ChangeLog
-rw-r--r-- 385 OpenALConfig.cmake.in
-rw-r--r-- 2881 README.md
-rw-r--r-- 709 XCompile-Android.txt
-rw-r--r-- 1516 XCompile.txt
drwxr-xr-x - al
drwxr-xr-x - alc
-rw-r--r-- 23258 alsoftrc.sample
-rw-r--r-- 657 appveyor.yml
drwxr-xr-x - build
drwxr-xr-x - cmake
drwxr-xr-x - common
-rw-r--r-- 3025 config.h.in
drwxr-xr-x - core
drwxr-xr-x - docs
drwxr-xr-x - examples
drwxr-xr-x - hrtf
drwxr-xr-x - include
-rw-r--r-- 358 openal.pc.in
drwxr-xr-x - presets
drwxr-xr-x - resources
drwxr-xr-x - router
drwxr-xr-x - utils
-rw-r--r-- 316 version.cmake
-rw-r--r-- 295 version.h.in