summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-08-15 19:16:27 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-08-15 19:16:27 +0000
commit1d2d12deb1849304ece5b9a6688571ecf3958be5 (patch)
tree497177bc6f95c3e6a0e3c1faeeddd61746d93fab /llvm/lib/Support/Windows
parentecf77b56ddc7add0552c79146bb69f043c52a10f (diff)
downloadbcm5719-llvm-1d2d12deb1849304ece5b9a6688571ecf3958be5.tar.gz
bcm5719-llvm-1d2d12deb1849304ece5b9a6688571ecf3958be5.zip
Properly test the LLVM_USE_RVALUE_REFERENCES macro.
llvm-svn: 161978
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r--llvm/lib/Support/Windows/PathV2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/PathV2.inc b/llvm/lib/Support/Windows/PathV2.inc
index 23f42aa10b0..696768ba9dd 100644
--- a/llvm/lib/Support/Windows/PathV2.inc
+++ b/llvm/lib/Support/Windows/PathV2.inc
@@ -861,7 +861,7 @@ mapped_file_region::~mapped_file_region() {
::CloseHandle(FileHandle);
}
-#ifdef LLVM_USE_RVALUE_REFERENCES
+#if LLVM_USE_RVALUE_REFERENCES
mapped_file_region::mapped_file_region(mapped_file_region &&other)
: Mode(other.Mode)
, Size(other.Size)
OpenPOWER on IntegriCloud