projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26fec4e
)
[libc][NFC] Remove a constexpr marking to fix GCC build.
author
Siva Chandra Reddy
<sivachandra@google.com>
Tue, 3 Jan 2023 18:00:57 +0000
(18:00 +0000)
committer
Siva Chandra Reddy
<sivachandra@google.com>
Tue, 3 Jan 2023 18:00:57 +0000
(18:00 +0000)
libc/src/__support/File/file.h
patch
|
blob
|
history
diff --git
a/libc/src/__support/File/file.h
b/libc/src/__support/File/file.h
index
2299584
..
3c035cd
100644
(file)
--- a/
libc/src/__support/File/file.h
+++ b/
libc/src/__support/File/file.h
@@
-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;