Skip to content

Commit 2507b65

Browse files
Protect include of <array> with c++11 macro
1 parent e593a25 commit 2507b65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

function.h

+3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
#define FUNCTION_H
1515
#include "classdesc.h"
1616
#include <string>
17+
18+
#if defined(__cplusplus) && __cplusplus>=201103L
1719
#include <array>
20+
#endif
1821

1922
namespace classdesc
2023
{

0 commit comments

Comments
 (0)