From 1d2d12deb1849304ece5b9a6688571ecf3958be5 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 15 Aug 2012 19:16:27 +0000 Subject: Properly test the LLVM_USE_RVALUE_REFERENCES macro. llvm-svn: 161978 --- llvm/lib/Support/Unix/PathV2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/Unix/PathV2.inc') diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc index 3bb38f6714d..d04f590f87e 100644 --- a/llvm/lib/Support/Unix/PathV2.inc +++ b/llvm/lib/Support/Unix/PathV2.inc @@ -545,7 +545,7 @@ mapped_file_region::~mapped_file_region() { ::munmap(Mapping, Size); } -#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), Mapping(other.Mapping) { other.Mapping = 0; -- cgit v1.2.3