mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1550422
- P00. Fix Windows compilation. r=dmajor
Following the shift in unified build setup following the removal of gfxPrefs.{cpp,c} we hit this error. Unified builds made this header get included with other files that use multiple inheritance, and clang-cl about the conflicting inheritance models. Local testing suggests clang-cl doesn't need the pragma anyway, so just take it out. Differential Revision: https://phabricator.services.mozilla.com/D31465 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b66d4957dd
commit
0f82b873e6
@ -9,8 +9,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
// On MSVC otherwise our generic member pointer trick doesn't work.
|
||||
// JYA: Do we still need this?
|
||||
# pragma pointers_to_members(full_generality, single_inheritance)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user