Change SerializationOptions to a const ref

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2023-07-24, QO 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SerializationOptions is passed by value because the struct was originally so small, the cost was insignificant. Now that it has grown so much, it makes sense to pass it as a const ref. In places where SerializationOptions needs to be updated/changed, we can just create a new instance.

              Assignee:
              Maddie Zechar
              Reporter:
              Maddie Zechar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: