diff options
author | nyamatongwe <devnull@localhost> | 2004-03-21 09:06:29 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-03-21 09:06:29 +0000 |
commit | 31438dbb82061aee1c54b095dc2e5799f80fff7a (patch) | |
tree | 5a3c31a3fa1eef03581ce28dcb8d0b1cbb63dd5a | |
parent | c14183ccaa18b7540f4af0b044e12090f61fc6e6 (diff) | |
download | scintilla-mirror-31438dbb82061aee1c54b095dc2e5799f80fff7a.tar.gz |
Avoid compiler warning.
-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 |