Skip to content

Commit

Permalink
Update to const function to align with the internal repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhang54 committed Jan 23, 2025
1 parent 2b294c8 commit f2a6ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GraphingImpl/Mocks/Graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace MockGraphingImpl
return std::nullopt;
}

HRESULT GetInitializationError()
HRESULT GetInitializationError() const
{
return S_OK;
}
Expand Down
2 changes: 1 addition & 1 deletion src/GraphingInterfaces/IGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Graphing

virtual std::optional<std::vector<std::shared_ptr<IEquation>>> TryInitialize(const IExpression* graphingExp = nullptr) = 0;

virtual HRESULT GetInitializationError() = 0;
virtual HRESULT GetInitializationError() const = 0;

virtual IGraphingOptions& GetOptions() = 0;

Expand Down

0 comments on commit f2a6ed1

Please sign in to comment.