aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-03-21 09:06:29 +0000
committernyamatongwe <unknown>2004-03-21 09:06:29 +0000
commit850a4e304da0b46578b70b150c641eb51ca5feaf (patch)
tree5a3c31a3fa1eef03581ce28dcb8d0b1cbb63dd5a
parentcabf972164496b55e3ca06cf2ca7e9db357075aa (diff)
downloadscintilla-mirror-850a4e304da0b46578b70b150c641eb51ca5feaf.tar.gz
Avoid compiler warning.
-rw-r--r--include/PropSet.h7
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