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

DB Version Update: New value is the first argument #1355

Merged

Conversation

KarlStraussberger
Copy link
Member

No description provided.

dbVersion = fmt::to_string(version + 1);
log_info("Database upgrade to version {} successful.", dbVersion.c_str());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future ref you can pass std::string directly to fmt.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remembered some discussion 😬 we had a year ago, that's why I added c_str since.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, oh dear! I guess we should write some of these things down

@whyman whyman enabled auto-merge (rebase) March 31, 2021 08:02
@whyman whyman merged commit 85d7f75 into gerbera:master Mar 31, 2021
@KarlStraussberger KarlStraussberger deleted the fix-version-update-statement branch March 31, 2021 08:24
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.

None yet

2 participants