mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
Make this an integer so we have enumeral types in the conditional
expression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
234aaf08c8
commit
22f3b40d0b
@ -35,7 +35,7 @@ namespace object {
|
||||
|
||||
using support::endianness;
|
||||
|
||||
template<typename T, std::size_t max_align>
|
||||
template<typename T, int max_align>
|
||||
struct MaximumAlignment {
|
||||
enum {value = AlignOf<T>::Alignment > max_align ? max_align
|
||||
: AlignOf<T>::Alignment};
|
||||
|
Loading…
x
Reference in New Issue
Block a user