COMMON: Add include guard on initializer_list.h
This commit is contained in:
parent
0ca2777713
commit
d8ab567a9b
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef COMMON_INITIALIZER_LIST_H
|
||||||
|
#define COMMON_INITIALIZER_LIST_H
|
||||||
|
|
||||||
// Some compiler only have partial support for C++11 and we provide replacements for reatures not available.
|
// Some compiler only have partial support for C++11 and we provide replacements for reatures not available.
|
||||||
#ifdef USE_CXX11
|
#ifdef USE_CXX11
|
||||||
|
|
||||||
|
@ -42,3 +45,5 @@ namespace std {
|
||||||
#endif // NO_CXX11_INITIALIZER_LIST
|
#endif // NO_CXX11_INITIALIZER_LIST
|
||||||
|
|
||||||
#endif // USE_CXX11
|
#endif // USE_CXX11
|
||||||
|
|
||||||
|
#endif // COMMON_INITIALIZER_LIST_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue