From 2ca64c58d5b4bb14e6ed4c4f394c6e349f95a998 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 23 Sep 2019 16:15:09 +0200 Subject: [PATCH] Try to fix Windows failure --- cpp/src/arrow/io/memory_test.cc | 2 +- cpp/src/arrow/io/slow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/io/memory_test.cc b/cpp/src/arrow/io/memory_test.cc index b9dc6a11c18e9..7b0621bcc9229 100644 --- a/cpp/src/arrow/io/memory_test.cc +++ b/cpp/src/arrow/io/memory_test.cc @@ -335,7 +335,7 @@ void TestSlowInputStream() { util::string_view view; ASSERT_OK(slow->Peek(4, &view)); - ASSERT_EQ(view, "ghij"); + ASSERT_EQ(view, util::string_view("ghij")); ASSERT_OK(slow->Close()); ASSERT_TRUE(slow->closed()); diff --git a/cpp/src/arrow/io/slow.h b/cpp/src/arrow/io/slow.h index 2a6a59ff0ea99..57bddceb0bcd1 100644 --- a/cpp/src/arrow/io/slow.h +++ b/cpp/src/arrow/io/slow.h @@ -33,7 +33,7 @@ class Status; namespace io { -class LatencyGenerator { +class ARROW_EXPORT LatencyGenerator { public: virtual ~LatencyGenerator();