We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 504874d + 68124b1 commit f6da16eCopy full SHA for f6da16e
VERSION
@@ -1 +1 @@
1
-1.6.0
+1.6.1
src/odc/core/CodecFactory.h
@@ -19,6 +19,7 @@
19
#include <memory>
20
#include <mutex>
21
#include <string>
22
+#include <string_view>
23
#include <cstdint>
24
25
#include "eckit/memory/NonCopyable.h"
@@ -90,7 +91,10 @@ template <template <typename> class CODEC>
90
91
class CodecBuilder : public CodecBuilderBase {
92
93
#ifndef _CRAYC
- static_assert(CODEC<SameByteOrder>::codec_name() == CODEC<OtherByteOrder>::codec_name(), "Invalid name");
94
+ static_assert(
95
+ std::string_view(CODEC<SameByteOrder>::codec_name()) ==
96
+ std::string_view(CODEC<OtherByteOrder>::codec_name()),
97
+ "Invalid name");
98
#endif
99
100
public: // methods
0 commit comments