stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.57k stars 368 forks source link

Make deserializer's map members const #3178

Closed WardBrian closed 1 year ago

WardBrian commented 1 year ago

Submission Checklist

Summary

This makes the minimal necessary changes to allow the deserializer class to accept const references.

Intended Effect

Allow the passing of const std::vector<T>& to deserializer

How to Verify

Side Effects

None

Documentation

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: