Skip to content

Commit

Permalink
Reformat templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er committed Sep 17, 2024
1 parent fb7b78b commit 9cbfa81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ KeepEmptyLinesAtTheStartOfBlocks: false
PackConstructorInitializers: Never
PointerAlignment: Left
QualifierAlignment: Left
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 4
2 changes: 1 addition & 1 deletion include/tmp/directory
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public:
} // namespace tmp

/// The template specialization of `std::hash` for `tmp::directory`
template <> struct TMP_EXPORT std::hash<tmp::directory> {
template<> struct TMP_EXPORT std::hash<tmp::directory> {
std::size_t operator()(const tmp::directory& directory) const noexcept;
};

Expand Down
2 changes: 1 addition & 1 deletion include/tmp/entry
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private:
} // namespace tmp

/// The template specialization of `std::hash` for `tmp::entry`
template <> struct TMP_EXPORT std::hash<tmp::entry> {
template<> struct TMP_EXPORT std::hash<tmp::entry> {
std::size_t operator()(const tmp::entry& entry) const noexcept;
};

Expand Down
2 changes: 1 addition & 1 deletion include/tmp/file
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private:
} // namespace tmp

/// The template specialization of `std::hash` for `tmp::file`
template <> struct TMP_EXPORT std::hash<tmp::file> {
template<> struct TMP_EXPORT std::hash<tmp::file> {
std::size_t operator()(const tmp::file& file) const noexcept;
};

Expand Down

0 comments on commit 9cbfa81

Please sign in to comment.