Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add default constructor for a const value #1414

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

leonklingele
Copy link
Contributor

This fixed a compilation error of the OS X 10.11.6 C++ compiler:

./fmt/test/format-test.cc:1861:16: error: default initialization of an object of const type 'const Answer' without a user-provided default constructor
  const Answer const_answer;
               ^
                           {}

This fixed a compilation error of the OS X 10.11.6 C++ compiler:

    ./fmt/test/format-test.cc:1861:16: error: default initialization of an object of const type 'const Answer' without a user-provided default constructor
      const Answer const_answer;
                   ^
                               {}
@leonklingele
Copy link
Contributor Author

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

@vitaut vitaut merged commit 78842ce into fmtlib:master Nov 19, 2019
@vitaut
Copy link
Contributor

vitaut commented Nov 19, 2019

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants