hot path: just in case

This commit is contained in:
Michael Scire 2020-12-02 02:17:32 -08:00 committed by SciresM
parent ab8de72db0
commit 41a53075e5
2 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,9 @@
namespace ams::util {
#pragma GCC push_options
#pragma GCC optimize ("-O2")
/* Forward declare implementation class for Node. */
namespace impl {
@ -629,4 +632,6 @@ namespace ams::util {
}
};
#pragma GCC pop_options
}

View File

@ -22,6 +22,9 @@
namespace ams::util {
#pragma GCC push_options
#pragma GCC optimize ("-O2")
namespace impl {
class IntrusiveRedBlackTreeImpl;
@ -575,4 +578,6 @@ namespace ams::util {
}
};
#pragma GCC pop_options
}