mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Fix compilation under VS2017 (nw)
default_semantics is used by apply so need to be public
This commit is contained in:
parent
8e61a7d3d3
commit
d5bf30edb8
@ -592,10 +592,10 @@ private:
|
||||
{ static constexpr bool value = std::is_integral<U>::value && std::is_signed<U>::value; };
|
||||
template <typename U> struct unsigned_integer_semantics
|
||||
{ static constexpr bool value = std::is_integral<U>::value && !std::is_signed<U>::value; };
|
||||
public:
|
||||
template <typename U> struct default_semantics
|
||||
{ static constexpr bool value = !signed_integer_semantics<U>::value && !unsigned_integer_semantics<U>::value; };
|
||||
|
||||
public:
|
||||
template <typename U>
|
||||
static void apply(std::enable_if_t<signed_integer_semantics<U>::value, Stream> &str, format_flags const &flags, U const &value)
|
||||
{
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#ifndef __EIVC__
|
||||
#define __EIVC__
|
||||
|
||||
#include <intrin.h>
|
||||
#pragma intrinsic(_BitScanReverse)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user