-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure headers and includes in afw.table.
This commit guards against one-definition rule violations involving explicit specializations of the Key, KeyBase, and FieldBase classes by moving those specializations next to the default definitions of those templates and generally making includes more "self-sufficient": headers should now (at least mostly) include the headers for all classes they use directly, and should not rely on other headers being included for them in any source files (but that is always difficult to check). In a few cases I do assume that some headers (e.g. Schema.h) can be relied upon to include others (Key.h, Field.h) in higher-level code. This also removes a few includes that were not being used in those headers at all. That could cause downstream compile failures if source files or other headers were (incorrectly) relying on those incorrect includes, but such breakage should be easy to fix and is worth fixing anyway.
- Loading branch information
Showing
19 changed files
with
249 additions
and
222 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
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
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
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
Oops, something went wrong.