diff options
Diffstat (limited to 'include/PropSet.h')
-rw-r--r-- | include/PropSet.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 1f4589f98..0b4c2f58d 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -95,4 +95,11 @@ inline bool IsAlphabetic(unsigned int ch) { return ((ch >= 'A') && (ch <= 'Z')) || ((ch >= 'a') && (ch <= 'z')); } + +#ifdef _MSC_VER +// Visual C++ doesn't like the private copy idiom for disabling +// the default copy constructor and operator=, but it's fine. +#pragma warning(disable: 4511 4512) +#endif + #endif |