From 5cd0d65765b82686d9976e91cddef1b7f89855d9 Mon Sep 17 00:00:00 2001 From: Harun Mustafa Date: Mon, 27 May 2024 11:11:09 +0200 Subject: [PATCH] fix subobject-linkage warnings --- include/kmer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/kmer.hpp b/include/kmer.hpp index 9567ff5..1200dc2 100644 --- a/include/kmer.hpp +++ b/include/kmer.hpp @@ -109,9 +109,9 @@ struct alpha_kmer_t : uint_kmer_t { }; #ifdef SSHASH_USE_TRADITIONAL_NUCLEOTIDE_ENCODING -constexpr char nucleotides[] = "ACGT"; +inline constexpr char nucleotides[] = "ACGT"; #else -constexpr char nucleotides[] = "ACTG"; +inline constexpr char nucleotides[] = "ACTG"; #endif template