aboutsummaryrefslogtreecommitdiff
path: root/contrib/native/client/src/include
diff options
context:
space:
mode:
authorXiao Meng <xiaom.cs@gmail.com>2014-07-29 15:10:10 -0700
committerJacques Nadeau <jacques@apache.org>2014-08-11 21:32:48 -0700
commit90cd1949274aad87626083b835fc966b7f422777 (patch)
tree1dfccfd4a9e92904d47d52e9c8f2efef366f5dca /contrib/native/client/src/include
parent323084b0b9ff53d9f0737748dc920ad9ca4611d0 (diff)
DRILL-1222: C++ Client. Fix DRILL-1144 compilation on Mac OS
Diffstat (limited to 'contrib/native/client/src/include')
-rw-r--r--contrib/native/client/src/include/drill/recordBatch.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/native/client/src/include/drill/recordBatch.hpp b/contrib/native/client/src/include/drill/recordBatch.hpp
index 8d7942a9b..d4735a99d 100644
--- a/contrib/native/client/src/include/drill/recordBatch.hpp
+++ b/contrib/native/client/src/include/drill/recordBatch.hpp
@@ -302,7 +302,7 @@ template <int DECIMAL_DIGITS, int WIDTH_IN_BYTES, bool IS_SPARSE, int MAX_PRECIS
void getValueAt(size_t index, char* buf, size_t nChars) const {
const DecimalValue& val = this->get(index);
- std::string& str = boost::lexical_cast<std::string>(val.m_unscaledValue);
+ std::string str = boost::lexical_cast<std::string>(val.m_unscaledValue);
if (str[0] == '-') {
str = str.substr(1);
while (str.length() < m_scale) {