diff --git a/starboard/nplb/compiler_compliance/cpp14_constexpr.cc b/starboard/nplb/compiler_compliance/cpp14_constexpr.cc index 3d1ec32e1e5f9..ffaae75acd505 100644 --- a/starboard/nplb/compiler_compliance/cpp14_constexpr.cc +++ b/starboard/nplb/compiler_compliance/cpp14_constexpr.cc @@ -12,8 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include "starboard/configuration.h" -#include "starboard/types.h" +#include namespace starboard { namespace nplb { @@ -30,8 +29,8 @@ constexpr size_t CompileTimeStringLength(const char* str) { return length + 1; } -SB_COMPILE_ASSERT(CompileTimeStringLength(kPangram) == sizeof(kPangram), - CompileTimeStringLength_does_not_return_correct_length); +static_assert(CompileTimeStringLength(kPangram) == sizeof(kPangram), + "CompileTimeStringLength does not return correct length"); } // namespace } // namespace nplb } // namespace starboard diff --git a/starboard/nplb/compiler_compliance/cpp14_initialization.cc b/starboard/nplb/compiler_compliance/cpp14_initialization.cc index 40724d07d30e0..16bbf29122bb3 100644 --- a/starboard/nplb/compiler_compliance/cpp14_initialization.cc +++ b/starboard/nplb/compiler_compliance/cpp14_initialization.cc @@ -13,8 +13,6 @@ // limitations under the License. #include -#include "starboard/configuration.h" -#include "starboard/types.h" namespace starboard { namespace nplb {