forked from EvergreenCrypto/docker-finance
container: c++: run linter
This commit is contained in:
@@ -288,16 +288,20 @@ class Random final
|
||||
miles /= 24901;
|
||||
|
||||
// TODO(unassigned): would be nice to have some RNG-related info
|
||||
pt->AddText(std::string{"Fun facts"}
|
||||
.c_str()); // TODO(unassigned): make this small text
|
||||
pt->AddText(std::string{
|
||||
"There are " + std::to_string(is_odd) + " odd numbers and "
|
||||
+ std::to_string(data.y.size() - is_odd) + " even numbers"}
|
||||
.c_str());
|
||||
pt->AddText(std::string{
|
||||
"If the total values generated were miles, you could circle the earth "
|
||||
+ std::to_string(miles) + " times!"}
|
||||
.c_str());
|
||||
pt->AddText(
|
||||
std::string{"Fun facts"}
|
||||
.c_str()); // TODO(unassigned): make this small text
|
||||
pt->AddText(
|
||||
std::string{
|
||||
"There are " + std::to_string(is_odd) + " odd numbers and "
|
||||
+ std::to_string(data.y.size() - is_odd) + " even numbers"}
|
||||
.c_str());
|
||||
pt->AddText(
|
||||
std::string{
|
||||
"If the total values generated were miles, you could circle the "
|
||||
"earth "
|
||||
+ std::to_string(miles) + " times!"}
|
||||
.c_str());
|
||||
pt->Draw();
|
||||
}
|
||||
|
||||
|
||||
@@ -106,8 +106,7 @@ class Hash final : public t_impl
|
||||
//! \endcode
|
||||
template <
|
||||
typename t_hash,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_string<t_container<t_args...>>,
|
||||
@@ -132,8 +131,7 @@ class Hash final : public t_impl
|
||||
//! \endcode
|
||||
template <
|
||||
typename t_hash,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_value_type_allocator<t_container<t_args...>>,
|
||||
@@ -158,8 +156,7 @@ class Hash final : public t_impl
|
||||
//! \endcode
|
||||
template <
|
||||
typename t_hash,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_mapped_type_allocator<t_container<t_args...>>,
|
||||
|
||||
@@ -151,8 +151,7 @@ class Transform : private ImplBase<t_impl>
|
||||
template <
|
||||
typename t_tag,
|
||||
typename t_encoded,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_string<t_container<t_args...>>,
|
||||
@@ -169,8 +168,7 @@ class Transform : private ImplBase<t_impl>
|
||||
template <
|
||||
typename t_tag,
|
||||
typename t_encoded,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_value_type_allocator<t_container<t_args...>>,
|
||||
@@ -222,8 +220,7 @@ class Transform : private ImplBase<t_impl>
|
||||
template <
|
||||
typename t_tag,
|
||||
typename t_encoded,
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_mapped_type_allocator<t_container<t_args...>>,
|
||||
|
||||
@@ -112,8 +112,7 @@ namespace libsodium
|
||||
//! \ingroup cpp_API
|
||||
//! \note For public consumption
|
||||
//! \since docker-finance 1.0.0
|
||||
using Random =
|
||||
::dfi::crypto::common::Random<impl::libsodium::Random>;
|
||||
using Random = ::dfi::crypto::common::Random<impl::libsodium::Random>;
|
||||
} // namespace libsodium
|
||||
|
||||
} // namespace crypto
|
||||
|
||||
@@ -141,8 +141,7 @@ class Byte final : public impl::Byte
|
||||
}
|
||||
|
||||
template <
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_value_type_allocator<t_container<t_args...>>,
|
||||
@@ -153,8 +152,7 @@ class Byte final : public impl::Byte
|
||||
}
|
||||
|
||||
template <
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_mapped_type_allocator<t_container<t_args...>>,
|
||||
@@ -172,8 +170,7 @@ class Byte final : public impl::Byte
|
||||
}
|
||||
|
||||
template <
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_value_type_allocator<t_container<t_args...>>,
|
||||
@@ -184,8 +181,7 @@ class Byte final : public impl::Byte
|
||||
}
|
||||
|
||||
template <
|
||||
template <typename...>
|
||||
typename t_container,
|
||||
template <typename...> typename t_container,
|
||||
typename... t_args,
|
||||
std::enable_if_t<
|
||||
type::is_signature_with_mapped_type_allocator<t_container<t_args...>>,
|
||||
|
||||
Reference in New Issue
Block a user