We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf4acc commit 81c6fb6Copy full SHA for 81c6fb6
1 file changed
common/include/villas/jansson.hpp
@@ -144,7 +144,9 @@ enum class JanssonNestedStructure {
144
template <typename... Args> class JanssonUnpackFormatString {
145
public:
146
consteval JanssonUnpackFormatString(char const *fmt) : fmt(fmt) {
147
+#ifdef __cpp_lib_constexpr_vector
148
validate(fmt);
149
+#endif
150
}
151
152
constexpr char const *c_str() const { return fmt; }
@@ -297,7 +299,9 @@ void janssonUnpack(::json_t *json,
297
299
template <typename... Args> class JanssonPackFormatString {
298
300
301
consteval JanssonPackFormatString(char const *fmt) : fmt(fmt) {
302
303
304
305
306
307
0 commit comments