Skip to content

Commit

Permalink
[Dimnension] fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrewe committed Feb 11, 2023
1 parent a2dd0f3 commit 5aabc52
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions backend/hdf5/DimensionHDF5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ DimensionType SetDimensionHDF5::dimensionType() const {
}


boost::optional<std::string> SetDimensionHDF5::label() const {
boost::optional<std::string> ret;
std::optional<std::string> SetDimensionHDF5::label() const {
std::optional<std::string> ret;
string label;
bool have_attr = group.getAttr("label", label);
if (have_attr) {
Expand Down
2 changes: 1 addition & 1 deletion backend/hdf5/DimensionHDF5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class SetDimensionHDF5 : virtual public base::ISetDimension, public DimensionHDF
DimensionType dimensionType() const;


boost::optional<std::string> label() const;
std::optional<std::string> label() const;


void label(const std::string &label);
Expand Down
2 changes: 1 addition & 1 deletion include/nix/Dimensions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ class NIXAPI SetDimension : public base::ImplContainer<base::ISetDimension> {
*
* @return The label of the dimension.
*/
boost::optional<std::string> label() const {
std::optional<std::string> label() const {
return backend()->label();
}

Expand Down
2 changes: 1 addition & 1 deletion include/nix/base/IDimensions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class NIXAPI ISetDimension : virtual public IDimension {

public:

virtual boost::optional<std::string> label() const = 0;
virtual std::optional<std::string> label() const = 0;

virtual void label(const std::string &label) = 0;

Expand Down

0 comments on commit 5aabc52

Please sign in to comment.