Workaround for clang 3.2 libc++ empty struct bug.
Certain tests have empty structs or classes. This encounters a bug with clang: http://llvm.org/bugs/show_bug.cgi?id=16764 This is fixed in later versions of clang, but not the version currently bundled with Mavericks and XCode 5
This commit is contained in:
parent
9fd42e0e67
commit
c3eff9234c
6 changed files with 15 additions and 7 deletions
|
|
@ -94,14 +94,16 @@ public:
|
|||
|
||||
namespace Space {
|
||||
class Flow {
|
||||
int x;
|
||||
public:
|
||||
Flow(int i) {}
|
||||
Flow(int i) : x(i) {}
|
||||
};
|
||||
|
||||
|
||||
class FlowFlow {
|
||||
int x;
|
||||
public:
|
||||
FlowFlow(int i) {}
|
||||
FlowFlow(int i) : x(i) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue