Commit 8f91076
Address -Wswitch-default warnings (#54501)
Summary:
Pull Request resolved: #54501
Improve compatibility with projects that have -Wswitch-default errors/warnings enabled by suppressing those errors/warnings in caffe2 headers.
Changelog: [iOS] [Fixed] - Improve -Wswitch-default support
Differential Revision: D86785448
fbshipit-source-id: f833214c6f48d6abdc8a94d31b36edecaac3aee21 parent fedd1cf commit 8f91076
2 files changed
Lines changed: 4 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments