mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-14 02:26:50 -07:00
Update const to align with the internal repo (#2281)
* Update to const function to align with the internal repo * Remove redundant const
This commit is contained in:
parent
def60ac3a8
commit
fa78446867
4 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ namespace MockGraphingImpl
|
||||||
{
|
{
|
||||||
class Bitmap : public Graphing::IBitmap
|
class Bitmap : public Graphing::IBitmap
|
||||||
{
|
{
|
||||||
virtual const std::vector<BYTE> GetData() const
|
virtual std::vector<BYTE> GetData() const
|
||||||
{
|
{
|
||||||
return std::vector<BYTE>();
|
return std::vector<BYTE>();
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace MockGraphingImpl
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT GetInitializationError()
|
HRESULT GetInitializationError() const
|
||||||
{
|
{
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,6 @@ namespace Graphing
|
||||||
{
|
{
|
||||||
struct IBitmap
|
struct IBitmap
|
||||||
{
|
{
|
||||||
virtual const std::vector<BYTE> GetData() const = 0;
|
virtual std::vector<BYTE> GetData() const = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace Graphing
|
||||||
|
|
||||||
virtual std::optional<std::vector<std::shared_ptr<IEquation>>> TryInitialize(const IExpression* graphingExp = nullptr) = 0;
|
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;
|
virtual IGraphingOptions& GetOptions() = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue