Add std::move in UniformSupport.

Fixes build warnings on clang-8, no warnings on redundant moves on
gcc-(6.5,7.4,8.3).

Closes tensorflow/mlir#41

PiperOrigin-RevId: 260764269
This commit is contained in:
Jacques Pienaar 2019-07-30 11:54:29 -07:00 committed by A. Unique TensorFlower
parent ea56025f1e
commit 81a7c322e4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public:
llvm::APSInt result(storageBitWidth, !isSigned); llvm::APSInt result(storageBitWidth, !isSigned);
fixedpoint.convertToInteger(result, APFloat::rmNearestTiesToEven, &lossy); fixedpoint.convertToInteger(result, APFloat::rmNearestTiesToEven, &lossy);
return result; return std::move(result);
} }
int64_t quantizeFloatToInt64(APFloat expressedValue) const { int64_t quantizeFloatToInt64(APFloat expressedValue) const {