Skip to content

Commit

Permalink
Attempt to fix linking error on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
  • Loading branch information
dchigarev committed Jan 14, 2021
1 parent 5211da2 commit aba675d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/array_decimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace arrow {

/// Template Array class for decimal data
template<uint32_t width>
class BaseDecimalArray : public FixedSizeBinaryArray {
class ARROW_EXPORT BaseDecimalArray : public FixedSizeBinaryArray {
public:
using TypeClass = typename DecimalTypeTraits<width>::TypeClass;
using ValueType = typename DecimalTypeTraits<width>::ValueType;
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/builder_decimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
namespace arrow {

template<uint32_t width>
class BaseDecimalBuilder : public FixedSizeBinaryBuilder {
class ARROW_EXPORT BaseDecimalBuilder : public FixedSizeBinaryBuilder {
public:
using TypeClass = typename DecimalTypeTraits<width>::TypeClass;
using ArrayType = typename DecimalTypeTraits<width>::ArrayType;
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ class ARROW_EXPORT DecimalType : public FixedSizeBinaryType {

/// \brief Template type class for decimal data
template<uint32_t width>
class BaseDecimalType : public DecimalType {
class ARROW_EXPORT BaseDecimalType : public DecimalType {
public:
static constexpr const char* type_name() { return DecimalMeta<width>::name; }

Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/util/basic_decimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ ARROW_EXPORT BasicDecimal256 operator/(const BasicDecimal256& left,


template<uint32_t width>
class BasicDecimalAnyWidth {
class ARROW_EXPORT BasicDecimalAnyWidth {
public:
using ValueType = typename IntTypes<width>::signed_type;
/// \brief Empty constructor creates a BasicDecimal256 with a value of 0.
Expand Down

0 comments on commit aba675d

Please sign in to comment.