This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 501cde9  ARROW-4254: [C++][Gandiva] Build with Boost from Ubuntu 
Trusty apt
501cde9 is described below

commit 501cde9fbf4cf3752d8df1d9e6b27367893045cb
Author: Wes McKinney <[email protected]>
AuthorDate: Sat Jan 19 06:33:54 2019 +0900

    ARROW-4254: [C++][Gandiva] Build with Boost from Ubuntu Trusty apt
    
    A newer `boost::optional` API was being used causing compilation failure
    
    Author: Wes McKinney <[email protected]>
    
    Closes #3431 from wesm/ARROW-4254 and squashes the following commits:
    
    32b8b7de <Wes McKinney> Do not use value() method from boost::optional not 
available in older Boost
---
 cpp/src/gandiva/lru_cache_test.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/gandiva/lru_cache_test.cc 
b/cpp/src/gandiva/lru_cache_test.cc
index 230a811..8ac04c3 100644
--- a/cpp/src/gandiva/lru_cache_test.cc
+++ b/cpp/src/gandiva/lru_cache_test.cc
@@ -59,6 +59,6 @@ TEST_F(TestLruCache, TestLruBehavior) {
   cache_.get(TestCacheKey(1));
   cache_.insert(TestCacheKey(3), "hello");
   // should have evicted key 2.
-  ASSERT_EQ(cache_.get(TestCacheKey(1)).value(), "hello");
+  ASSERT_EQ(*cache_.get(TestCacheKey(1)), "hello");
 }
 }  // namespace gandiva

Reply via email to