Fixed formatting

This commit is contained in:
Bartek Kryza
2022-08-08 18:25:35 +02:00
parent b066348429
commit 59089c2598
3 changed files with 9 additions and 10 deletions

View File

@@ -107,10 +107,10 @@ private:
namespace std { namespace std {
template <> template <>
struct hash< struct hash<std::reference_wrapper<clanguml::class_diagram::model::class_>> {
std::reference_wrapper<clanguml::class_diagram::model::class_>> { std::size_t operator()(
std::size_t operator()(const std::reference_wrapper< const std::reference_wrapper<clanguml::class_diagram::model::class_>
clanguml::class_diagram::model::class_> &key) const &key) const
{ {
using clanguml::common::id_t; using clanguml::common::id_t;

View File

@@ -59,8 +59,8 @@ namespace std {
template <> template <>
struct hash<std::reference_wrapper<clanguml::common::model::package>> { struct hash<std::reference_wrapper<clanguml::common::model::package>> {
std::size_t operator()( std::size_t operator()(
const std::reference_wrapper<clanguml::common::model::package> const std::reference_wrapper<clanguml::common::model::package> &key)
&key) const const
{ {
using clanguml::common::id_t; using clanguml::common::id_t;

View File

@@ -143,11 +143,10 @@ template <> struct hash<clanguml::common::model::filesystem_path> {
namespace std { namespace std {
template <> template <>
struct hash< struct hash<std::reference_wrapper<clanguml::common::model::source_file>> {
std::reference_wrapper<clanguml::common::model::source_file>> {
std::size_t operator()( std::size_t operator()(
const std::reference_wrapper<clanguml::common::model::source_file> const std::reference_wrapper<clanguml::common::model::source_file> &key)
&key) const const
{ {
using clanguml::common::id_t; using clanguml::common::id_t;