summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-03-18 17:58:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-22 14:02:39 +0000
commit6fcbf78f7d94e6d7ace7deea808464f1e0bd7777 (patch)
tree7769107f533565cef0878d0d45124e0d8ddd39f3 /SConstruct
parent516ca8f9905ada3a331a7cf3c48554d04ae427d4 (diff)
downloadmongo-6fcbf78f7d94e6d7ace7deea808464f1e0bd7777.tar.gz
SERVER-54199 removed default -Wredundant-move flag.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 0 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index 87138af8457..6898453080f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2916,10 +2916,6 @@ def doConfigure(myenv):
# Warn about moves of prvalues, which can inhibit copy elision.
AddToCXXFLAGSIfSupported(myenv, "-Wpessimizing-move")
- # Warn about redundant moves, such as moving a local variable in a return that is different
- # than the return type.
- AddToCXXFLAGSIfSupported(myenv, "-Wredundant-move")
-
# Disable warning about variables that may not be initialized
# Failures are triggered in the case of boost::optional in GCC 4.8.x
# TODO: re-evaluate when we move to GCC 5.3