Skip to content

Commit f4f6837

Browse files
committed
move [[maybe_unused]] for linux
1 parent 8fe2f56 commit f4f6837

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/rfl/parsing/FieldVariantParser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct FieldVariantParser {
7373

7474
static schema::Type to_schema(
7575
std::map<std::string, schema::Type>* _definitions,
76-
std::vector<schema::Type> [[maybe_unused]] _types = {}) {
76+
[[maybe_unused]] std::vector<schema::Type> _types = {}) {
7777
using VariantType = rfl::Variant<NamedTuple<FieldTypes>...>;
7878
return Parser<R, W, VariantType, ProcessorsType>::to_schema(_definitions);
7979
}

include/rfl/parsing/Parser_bytestring.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct Parser<R, W, Bytestring, ProcessorsType> {
2828
}
2929

3030
static schema::Type to_schema(
31-
std::map<std::string, schema::Type>* [[maybe_unused]] _definitions) {
31+
[[maybe_unused]] std::map<std::string, schema::Type>* _definitions) {
3232
return schema::Type{schema::Type::Bytestring{}};
3333
}
3434
};

include/rfl/parsing/Parser_vectorstring.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct Parser<R, W, Vectorstring, ProcessorsType> {
2828
}
2929

3030
static schema::Type to_schema(
31-
std::map<std::string, schema::Type>* [[maybe_unused]] _definitions) {
31+
[[maybe_unused]] std::map<std::string, schema::Type>* _definitions) {
3232
return schema::Type{schema::Type::Vectorstring{}};
3333
}
3434
};

0 commit comments

Comments
 (0)