commit fa6135417b267c36b57b43e97e74a5bafddee3cc
parent b10ee91cc34820b8fea26f30ff4d30e5c43d721f
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sun, 28 Nov 2021 10:24:14 +0100
I don't understand why but the & don't build in C!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/clap/version.h b/include/clap/version.h
@@ -24,7 +24,7 @@ typedef struct clap_version {
static CLAP_CONSTEXPR const clap_version CLAP_VERSION = {0, 15, 0};
-static CLAP_CONSTEXPR inline bool clap_version_is_compatible(const clap_version &v) {
+static CLAP_CONSTEXPR inline bool clap_version_is_compatible(const clap_version v) {
// For version 0, we require the same minor version because
// we may still break the ABI at this point
if (v.major == 0 && CLAP_VERSION.major == 0)