Added const serialization
Build and Test Module / build-and-test (push) Successful in 6s Details
Build and Test Module / build-and-test-with-asdf-library (push) Successful in 13s Details

This commit is contained in:
Andrew Lalis 2026-06-15 15:25:27 -04:00
parent ac3a070944
commit 2e131c5164
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ struct Optional(T) {
* Params:
* serializer = The serializer to use (provided by ASDF).
*/
void serialize(S)(ref S serializer) {
void serialize(S)(ref S serializer) const {
if (this.isNull) {
serializer.putValue(null);
} else {