Skip to content

Commit 1b6edd6

Browse files
iahsmeta-codesync[bot]
authored andcommitted
Remove move-only adapter support
Summary: `cpp.Adapter.moveOnly` no longer affects C++ code generation, and every production use was attached to a copyable adapted type. Remove the annotation field, stale annotations, move-only fixtures, and regenerate affected fixture outputs. Field ID 5 remains unreserved so existing serialized annotation payloads continue to decode without unknown-field enforcement. Keep the existing arithmetic `serializedSizeFixed` adapter-size support unchanged. The Configerator-owned Metarmor source change is D116658723 and must land first. Reviewed By: hchokshi Differential Revision: D116659189 fbshipit-source-id: 93fe5691c8c85f9ab30f1e68d840cac3d15e6433
1 parent 0857d6b commit 1b6edd6

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

thrift/annotation/cpp.thrift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ struct Adapter {
176176
*/
177177
3: string underlyingName;
178178
4: string extraNamespace;
179-
180-
/** Must set to true when adapted type is not copyable. */
181-
5: bool moveOnly;
182179
}
183180

184181
/**

0 commit comments

Comments
 (0)