Restrice optimisation pragmas to GCC
This commit is contained in:
parent
d968bd8549
commit
b08a47e68f
@ -25,7 +25,9 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#pragma GCC optimize("-O3")
|
#if defined(COMPILER_GCC)
|
||||||
|
#pragma GCC optimize("-O3")
|
||||||
|
#endif
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <size_t S>
|
template <size_t S>
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
|
#if defined(COMPILER_GCC)
|
||||||
#pragma GCC optimize("-O3")
|
#pragma GCC optimize("-O3")
|
||||||
|
#endif
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
using namespace util;
|
using namespace util;
|
||||||
|
Loading…
Reference in New Issue
Block a user