Fix compilation with libc++
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# ncmpcpp-0.10.1 (2024-??-??)
|
||||
* Fix compilation with `libc++`.
|
||||
|
||||
# ncmpcpp-0.10 (2024-09-03)
|
||||
* Add the configuration option `mpd_password`.
|
||||
* Separate chunks of lyrics with a double newline.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AC_INIT([ncmpcpp],[0.10])
|
||||
AC_INIT([ncmpcpp],[0.10.1_dev])
|
||||
AC_CONFIG_SRCDIR([configure.ac])
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
AM_INIT_AUTOMAKE([subdir-objects])
|
||||
|
||||
@@ -46,7 +46,7 @@ SongIterator makeSongIterator(IteratorT it)
|
||||
> Extractor;
|
||||
static_assert(
|
||||
std::is_convertible<
|
||||
typename std::result_of<Extractor(typename IteratorT::reference)>::type,
|
||||
std::invoke_result_t<Extractor, typename IteratorT::reference>,
|
||||
SongProperties &
|
||||
>::value, "invalid result type of SongPropertiesExtractor");
|
||||
return SongIterator(boost::make_transform_iterator(it, Extractor{}));
|
||||
@@ -60,7 +60,7 @@ ConstSongIterator makeConstSongIterator(ConstIteratorT it)
|
||||
> Extractor;
|
||||
static_assert(
|
||||
std::is_convertible<
|
||||
typename std::result_of<Extractor(typename ConstIteratorT::reference)>::type,
|
||||
std::invoke_result_t<Extractor, typename ConstIteratorT::reference>,
|
||||
const SongProperties &
|
||||
>::value, "invalid result type of SongPropertiesExtractor");
|
||||
return ConstSongIterator(boost::make_transform_iterator(it, Extractor{}));
|
||||
|
||||
Reference in New Issue
Block a user