Resolve CI build failure

This commit is contained in:
Crzyrndm 2018-07-10 13:18:21 +12:00
parent a8fa6637fe
commit 399b5e3775
3 changed files with 12 additions and 4 deletions

View File

@ -117,6 +117,11 @@ public:
/// </summary> /// </summary>
const class cell cell(const cell_reference &ref) const; const class cell cell(const cell_reference &ref) const;
/// <summary>
/// The worksheet this range targets
/// </summary>
const worksheet & target_worksheet() const;
/// <summary> /// <summary>
/// Returns the reference defining the bounds of this range. /// Returns the reference defining the bounds of this range.
/// </summary> /// </summary>

View File

@ -139,7 +139,7 @@ const std::vector<ext_list::ext> &ext_list::extensions() const
bool ext_list::operator==(const ext_list &rhs) const bool ext_list::operator==(const ext_list &rhs) const
{ {
return std::equal(extensions_.begin(), extensions_.end(), rhs.extensions_.begin(), rhs.extensions_.end()); return extensions_ == rhs.extensions_;
} }
} }

View File

@ -39,9 +39,7 @@ range::range(worksheet ws, const range_reference &reference, major_order order,
{ {
} }
range::~range() range::~range() = default;
{
}
void range::clear_cells() void range::clear_cells()
{ {
@ -71,6 +69,11 @@ cell_vector range::operator[](std::size_t index)
return vector(index); return vector(index);
} }
const worksheet &range::target_worksheet() const
{
return ws_;
}
range_reference range::reference() const range_reference range::reference() const
{ {
return ref_; return ref_;