From b7fd076d327994ce96347426fd3c2d2923e5dc75 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 30 Jun 2017 11:19:54 -0700 Subject: [PATCH] Use #warning rather than #warn Summary: Because `#warn` isn't actually a thing. Reviewed By: ot Differential Revision: D5356878 fbshipit-source-id: 57751ca57e7f6aaf9f4d8be70958b9cacc4f7335 --- folly/memory/UninitializedMemoryHacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/memory/UninitializedMemoryHacks.h b/folly/memory/UninitializedMemoryHacks.h index f4c87c7c..a363e102 100644 --- a/folly/memory/UninitializedMemoryHacks.h +++ b/folly/memory/UninitializedMemoryHacks.h @@ -244,7 +244,7 @@ inline void unsafeStringSetLargerSize(std::string& s, std::size_t n) { } #else -#warn "No implementation for resizeWithoutInitialization of std::string" +#warning "No implementation for resizeWithoutInitialization of std::string" #endif // This machinery bridges template expansion and macro expansion -- 2.34.1