mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Merge branch 'master' into develop
This commit is contained in:
@ -18,6 +18,7 @@ void f()
|
||||
{
|
||||
// this is never called, it just has to compile:
|
||||
int res = pthread_yield();
|
||||
(void)res;
|
||||
}
|
||||
|
||||
int test()
|
||||
|
@ -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;
|
||||
|
@ -18,7 +18,7 @@ namespace boost_no_cxx11_lambdas {
|
||||
|
||||
int test()
|
||||
{
|
||||
[](){};
|
||||
(void)[](){};
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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_;
|
||||
|
Reference in New Issue
Block a user