mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-03-20 20:51:03 +01:00
Add .clang-format file
Using clang-format version 12.0.0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <random>
|
||||
#include <type_traits>
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
T RandInt(T min, T max) {
|
||||
static_assert(std::is_integral_v<T>, "T must be an integral type.");
|
||||
static_assert(!std::is_same_v<T, signed char> && !std::is_same_v<T, unsigned char>,
|
||||
|
||||
Reference in New Issue
Block a user