Mark CommonValue as deprecated to generate warnings in old code

This commit is contained in:
Wojtek Figat
2025-01-13 18:25:26 +01:00
parent 754e0c4e29
commit 90ba7f4a92
7 changed files with 21 additions and 3 deletions

View File

@@ -244,6 +244,7 @@ void JsonWriter::Matrix(const ::Matrix& value)
EndObject();
}
PRAGMA_DISABLE_DEPRECATION_WARNINGS
void JsonWriter::CommonValue(const ::CommonValue& value)
{
// [Deprecated on 31.07.2020, expires on 31.07.2022]
@@ -319,6 +320,7 @@ void JsonWriter::CommonValue(const ::CommonValue& value)
EndObject();
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS
void JsonWriter::Transform(const ::Transform& value)
{