mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-20 06:10:06 +02:00
Try another definition of Maybe for xcode 5.1
This commit is contained in:
parent
1ffd9e4682
commit
3afcde1a70
@ -172,10 +172,17 @@ private:
|
||||
}
|
||||
|
||||
// Data
|
||||
#if 0
|
||||
typename ::std::aligned_storage<
|
||||
sizeof(X)
|
||||
// , alignof(X) // Not here yet in all compilers
|
||||
>::type storage{};
|
||||
#else
|
||||
union {
|
||||
double d;
|
||||
char storage[sizeof(X)];
|
||||
};
|
||||
#endif
|
||||
X* pp{ nullptr };
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user