Browse Source
Merge pull request #1835 from joe-rivos/fix-ignored-attributes-warning
Fix ignored-attributes warning for unique_ptr declaration
pull/1839/head
Andrew Waterman
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
riscv/log_file.h
|
|
|
@ -31,7 +31,7 @@ public: |
|
|
|
FILE *get() { return wrapped_file ? wrapped_file.get() : stderr; } |
|
|
|
|
|
|
|
private: |
|
|
|
std::unique_ptr<FILE, decltype(&fclose)> wrapped_file; |
|
|
|
std::unique_ptr<FILE, int(*)(FILE*)> wrapped_file; |
|
|
|
}; |
|
|
|
|
|
|
|
#endif |
|
|
|
|