diff options
Diffstat (limited to 'libs/backends/alsa/alsa_audiobackend.h')
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h index f7f7f693bb..d8dfb31725 100644 --- a/libs/backends/alsa/alsa_audiobackend.h +++ b/libs/backends/alsa/alsa_audiobackend.h @@ -30,6 +30,7 @@ #include <boost/shared_ptr.hpp> +#include "pbd/natsort.h" #include "ardour/audio_backend.h" #include "ardour/dsp_load_calculator.h" #include "ardour/system_exec.h" @@ -413,7 +414,7 @@ class AlsaAudioBackend : public AudioBackend { { bool operator ()(const AlsaPort* lhs, const AlsaPort* rhs) const { - return lhs->name () < rhs->name (); + return PBD::naturally_less (lhs->name ().c_str (), rhs->name ().c_str ()); } }; |