Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

release-fe5d8d61: suppress unused typedef warning

Compare
Choose a tag to compare
@kacasey8 kacasey8 released this 05 Aug 08:17
Summary:
We're seeing the following compiler warnings:
```
unused type alias 'char_type' [-Werror,-Wunused-local-typedef]
```
and this breaks compilation since we build with `-Werror`.

I haven't fully understood why & when this warning is triggered (it doesn't always trigger), but by adding a `[[maybe_unused]]` we can suppress the warning.

Reviewed By: vitaut

Differential Revision: D38387281

fbshipit-source-id: a12c9791fcf3eb6bae72a78310ed461f882a9eb7