Skip to content

Commit

Permalink
Make a few more getters const
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
dgelessus and Hoikas committed Mar 29, 2024
1 parent 2fd5dd9 commit 257571f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Plasma/FeatureLib/pfDXPipeline/plDXEnumerate.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class hsGDirect3DTnLEnumerate
void SetCurrentRenderer(D3DEnum_RendererInfo* d) { hsAssert(GetCurrentDisplay(), "Set Display first"); GetCurrentDisplay()->fCurrentRenderer = d; }
void SetCurrentMode(D3DEnum_ModeInfo* m) { hsAssert(GetCurrentDisplay(), "Set Display first"); GetCurrentDisplay()->fCurrentMode = m; }

ST::string GetEnumeErrorStr() { return fEnumeErrorStr; }
ST::string GetEnumeErrorStr() const { return fEnumeErrorStr; }
};


Expand Down
4 changes: 2 additions & 2 deletions Sources/Plasma/NucleusLib/inc/plProfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class plProfileBase

uint32_t GetTimerSamples() const { return fTimerSamples; }

ST::string GetName() { return fName; }
ST::string GetName() const { return fName; }

void SetActive(bool s) { fActive = s; }

Expand Down Expand Up @@ -243,7 +243,7 @@ class plProfileVar : public plProfileBase
void BeginLap(const ST::string& lapName) { if (fActive && fRunning) IBeginLap(lapName); }
void EndLap(const ST::string& lapName) { if (fActive && fRunning) IEndLap(lapName); }

ST::string GetGroup() { return fGroup; }
ST::string GetGroup() const { return fGroup; }

plProfileLaps* GetLaps() { return fLaps; }

Expand Down

0 comments on commit 257571f

Please sign in to comment.