forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connection_notifier: prevent link errors due to variables defined in …
…header connection_notifier.hh defines a number of template-specialized variables in a header. This is illegal since you're allowed to define something multiple times if it's a template, but not if it's fully specialized. gcc doesn't care but clang notices and complains. Fix by defining the variiables as inline variables, which are allowed to have definitions in multiple translation units. Closes scylladb#7519
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters