Skip to content

Commit

Permalink
Merge pull request #1036 from leapmotion/fix-xcode9-compat
Browse files Browse the repository at this point in the history
Fix compatibility issues with non-Xcode 9 systems
  • Loading branch information
jdonald committed Nov 13, 2017
2 parents c7a8d6b + ff1ca28 commit 0689acd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autowiring/auto_id.h
Expand Up @@ -58,7 +58,7 @@ namespace autowiring {
)
{}

#if !defined(_MSC_VER)
#if defined(__clang__) && __clang_major__ >= 9
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc++1z-compat-mangling"
#endif
Expand All @@ -79,7 +79,7 @@ namespace autowiring {
pToObj(pToObj),
pFromObj(pFromObj)
{}
#if !defined(_MSC_VER)
#if defined(__clang__) && __clang_major__ >= 9
#pragma clang diagnostic pop
#endif

Expand Down

0 comments on commit 0689acd

Please sign in to comment.