Merge branch 'master' into develop

This commit is contained in:
Glen Fernandes
2014-06-01 09:22:34 -07:00
5 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,7 @@ void f()
{
// this is never called, it just has to compile:
int res = pthread_yield();
(void)res;
}
int test()

View File

@ -22,7 +22,7 @@ struct G
int test()
{
G m;
const G c;
const G c = G();
if (m.get() != 'l') return 1;
if (c.get() != 'c') return 1;

View File

@ -18,7 +18,7 @@ namespace boost_no_cxx11_lambdas {
int test()
{
[](){};
(void)[](){};
return 0;
}

View File

@ -53,6 +53,8 @@ int test_allocator(const T& i)
// and isn't currently required by anything in boost
// so don't test for now...
// a3 = a2;
(void)a2;
return 0;
}

View File

@ -23,6 +23,8 @@ struct AltStruct
{
public:
AltStruct(int x, double y) : x_{x}, y_{y} {}
int X() const { return x_; }
double Y() const { return y_; }
private:
int x_;
double y_;