clang format

using clang format 11
This commit is contained in:
Paul Dreik
2021-08-22 17:52:45 -07:00
committed by Victor Zverovich
parent 2207ea0b36
commit e77686f7a8
6 changed files with 23 additions and 19 deletions
+6 -5
View File
@@ -1,17 +1,18 @@
// Copyright (c) 2019, Paul Dreik
// For the license information refer to format.h.
#include <fmt/chrono.h>
#include <cstdint>
#include <exception>
#include <fmt/chrono.h>
#include "fuzzer-common.h"
template <typename T, typename Repr>
const T* from_repr(const Repr& r) { return &r; }
template <typename T, typename Repr> const T* from_repr(const Repr& r) {
return &r;
}
template <>
const std::tm* from_repr<std::tm>(const std::time_t& t) {
template <> const std::tm* from_repr<std::tm>(const std::time_t& t) {
return std::localtime(&t);
}