[libc][NFC] Remove a constexpr marking to fix GCC build.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 3 Jan 2023 18:00:57 +0000 (18:00 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 3 Jan 2023 18:00:57 +0000 (18:00 +0000)
libc/src/__support/File/file.h

index 2299584..3c035cd 100644 (file)
@@ -203,7 +203,7 @@ public:
   // Close |f| and cleanup resources held by it.
   // Returns the non-zero error value if an error occurs when closing the
   // file.
-  static constexpr int cleanup(File *f) {
+  static int cleanup(File *f) {
     int close_result = f->close();
     if (close_result != 0)
       return close_result;