diff --git a/schema/code/ac/schema/IOVisitors.hpp b/schema/code/ac/schema/IOVisitors.hpp index 7771c6ff..d338eb31 100644 --- a/schema/code/ac/schema/IOVisitors.hpp +++ b/schema/code/ac/schema/IOVisitors.hpp @@ -41,7 +41,7 @@ struct ToDictVisitor { template static void writeToDict(Dict& out, Blob& value) { - out = ac::Dict::binary(std::move(Blob)); + out = ac::Dict::binary(std::move(value)); } template diff --git a/schema/code/ac/schema/SchemaVisitor.hpp b/schema/code/ac/schema/SchemaVisitor.hpp index 0e3329ef..5bdaafe4 100644 --- a/schema/code/ac/schema/SchemaVisitor.hpp +++ b/schema/code/ac/schema/SchemaVisitor.hpp @@ -75,7 +75,7 @@ struct SchemaVisitor { template void Struct_toSchema(Dict& out) { - SchemaVisitor::describeField(out); + SchemaVisitor::template describeField(out); } } // namespace ac::local::schema