summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
committerMattes D <github@xoft.cz>2014-04-03 09:27:17 +0200
commit25529ba62f949b98ed30e905ee4921c737d7df87 (patch)
tree773b1c615cd4147f1910bb396441186a8a0151a0 /src/Globals.h
parentRemoved the bindings to set old g_BlockXXX arrays. (diff)
downloadcuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.gz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.bz2
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.lz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.xz
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.tar.zst
cuberite-25529ba62f949b98ed30e905ee4921c737d7df87.zip
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h
index a1cee5c2f..26a0d87a9 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -29,6 +29,9 @@
// Disabling this warning, because we know what we're doing when we're doing this:
#pragma warning(disable: 4355) // 'this' used in initializer list
+
+ // Disabled because it's useless:
+ #pragma warning(disable: 4512) // 'class': assignment operator could not be generated - reported for each class that has a reference-type member
// 2014_01_06 xoft: Disabled this warning because MSVC is stupid and reports it in obviously wrong places
// #pragma warning(3 : 4244) // Conversion from 'type1' to 'type2', possible loss of data