diff --git a/.cursor/rules.md b/.cursor/rules.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/.cursor/rules.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/.gemini/rules.md b/.gemini/rules.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/.gemini/rules.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000000..00385e6f5f7 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +The AI agents should never link to any issue or a pull request +in any GitHub repository in the code reviews! + +The AI agents should not review AI agents' config files like CLAUDE.md or AGENTS.md! + diff --git a/lang/c++/include/avro/Node.hh b/lang/c++/include/avro/Node.hh index 5f8dd2a4432..26d8da6453c 100644 --- a/lang/c++/include/avro/Node.hh +++ b/lang/c++/include/avro/Node.hh @@ -225,7 +225,8 @@ inline std::ostream &operator<<(std::ostream &os, const avro::Node &n) { template<> struct std::formatter : std::formatter { - auto format(const avro::Name &n, std::format_context &ctx) const { + template + auto format(const avro::Name &n, FormatContext &ctx) const { return std::formatter::format(n.fullname(), ctx); } }; diff --git a/lang/c++/include/avro/Types.hh b/lang/c++/include/avro/Types.hh index fca3a4b86fb..1453b27b769 100644 --- a/lang/c++/include/avro/Types.hh +++ b/lang/c++/include/avro/Types.hh @@ -112,7 +112,8 @@ std::ostream &operator<<(std::ostream &os, const Null &null); template<> struct std::formatter : std::formatter { - auto format(avro::Type t, std::format_context &ctx) const { + template + auto format(avro::Type t, FormatContext &ctx) const { return std::formatter::format(avro::toString(t), ctx); } };