Skip to content

Commit

Permalink
Fix Doxygen generation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoxor committed Nov 19, 2023
1 parent b24c653 commit eff12f9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions include/common/uint128.inl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ struct fmt::formatter<CppCommon::uint128_t> : formatter<std::string_view>
};
#endif

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::uint128_t>
{
Expand All @@ -216,4 +216,4 @@ struct std::hash<CppCommon::uint128_t>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/common/uint256.inl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ struct fmt::formatter<CppCommon::uint256_t> : formatter<std::string_view>
};
#endif

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::uint256_t>
{
Expand All @@ -228,4 +228,4 @@ struct std::hash<CppCommon::uint256_t>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/system/uuid.inl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct fmt::formatter<CppCommon::UUID> : formatter<std::string_view>
};
#endif

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::UUID>
{
Expand All @@ -49,4 +49,4 @@ struct std::hash<CppCommon::UUID>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/time/time.inl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ inline LocalTime::LocalTime(const UtcTime& time) : LocalTime(time.utcstamp())

} // namespace CppCommon

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::Time>
{
Expand All @@ -306,4 +306,4 @@ struct std::hash<CppCommon::Time>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/time/timespan.inl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ inline void swap(Timespan& timespan1, Timespan& timespan2) noexcept

} // namespace CppCommon

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::Timespan>
{
Expand All @@ -35,4 +35,4 @@ struct std::hash<CppCommon::Timespan>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/time/timestamp.inl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ inline void swap(Timestamp& timestamp1, Timestamp& timestamp2) noexcept

} // namespace CppCommon

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::Timestamp>
{
Expand All @@ -35,4 +35,4 @@ struct std::hash<CppCommon::Timestamp>
return result;
}
};
/// \endcond
//! \endcond
4 changes: 2 additions & 2 deletions include/time/timezone.inl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inline void swap(Timezone& timezone1, Timezone& timezone2) noexcept

} // namespace CppCommon

/// \cond DOXYGEN_SKIP
//! \cond DOXYGEN_SKIP
template <>
struct std::hash<CppCommon::Timezone>
{
Expand All @@ -39,4 +39,4 @@ struct std::hash<CppCommon::Timezone>
return result;
}
};
/// \endcond
//! \endcond
2 changes: 2 additions & 0 deletions include/utility/validate_aligned_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ namespace CppCommon {
template <size_t ImplSize, size_t ImplAlign, size_t StorageSize, size_t StorageAlign, class Enable = void>
class ValidateAlignedStorage;

//! \cond DOXYGEN_SKIP
//! Aligned storage validator (specialization)
template <size_t ImplSize, const size_t ImplAlign, size_t StorageSize, size_t StorageAlign>
class ValidateAlignedStorage<ImplSize, ImplAlign, StorageSize, StorageAlign, typename std::enable_if<(StorageSize >= ImplSize) && ((StorageAlign % ImplAlign) == 0)>::type> {};
//! \endcond

} // namespace CppCommon

Expand Down

0 comments on commit eff12f9

Please sign in to comment.