mirror of
https://github.com/boostorg/utility.git
synced 2025-05-11 13:24:02 +00:00
moved global variables in front of reference in test_align
[SVN r8648]
This commit is contained in:
parent
f694e557e1
commit
34c847c17f
@ -11,6 +11,10 @@
|
|||||||
#ifndef BOOST_TYPE_TRAITS_TEST_HPP
|
#ifndef BOOST_TYPE_TRAITS_TEST_HPP
|
||||||
#define BOOST_TYPE_TRAITS_TEST_HPP
|
#define BOOST_TYPE_TRAITS_TEST_HPP
|
||||||
|
|
||||||
|
// Variable declarations must come before test_align due to two-phase lookup
|
||||||
|
unsigned failures = 0;
|
||||||
|
unsigned test_count = 0;
|
||||||
|
|
||||||
//
|
//
|
||||||
// this one is here just to suppress warnings:
|
// this one is here just to suppress warnings:
|
||||||
//
|
//
|
||||||
@ -94,8 +98,6 @@ struct test_align<T&>
|
|||||||
|
|
||||||
//
|
//
|
||||||
// define tests here
|
// define tests here
|
||||||
unsigned failures = 0;
|
|
||||||
unsigned test_count = 0;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// turn off some warnings:
|
// turn off some warnings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user