File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ class DMDUTILAPI DMD
156156 void DumpDMDRaw ();
157157 LevelDMD* CreateLevelDMD (uint16_t width, uint16_t height, bool sam);
158158 bool DestroyLevelDMD (LevelDMD* pLevelDMD);
159- void AddRGB24DMD (RGB24DMD* pRGB24DMD);
160- RGB24DMD* CreateRGB24DMD (uint16_t width, uint16_t height);
159+ void AddRGB24DMD (RGB24DMD* const pRGB24DMD);
160+ RGB24DMD* const CreateRGB24DMD (uint16_t width, uint16_t height);
161161 bool DestroyRGB24DMD (RGB24DMD* pRGB24DMD);
162162 ConsoleDMD* CreateConsoleDMD (bool overwrite, FILE* out = stdout);
163163 bool DestroyConsoleDMD (ConsoleDMD* pConsoleDMD);
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ bool DMD::DestroyLevelDMD(LevelDMD* pLevelDMD)
280280 return false ;
281281}
282282
283- void DMD::AddRGB24DMD (RGB24DMD* pRGB24DMD)
283+ void DMD::AddRGB24DMD (RGB24DMD* const pRGB24DMD)
284284{
285285 m_rgb24DMDs.push_back (pRGB24DMD);
286286 if (!m_pRGB24DMDThread) {
@@ -289,7 +289,7 @@ void DMD::AddRGB24DMD(RGB24DMD* pRGB24DMD)
289289 }
290290}
291291
292- RGB24DMD* DMD::CreateRGB24DMD (uint16_t width, uint16_t height)
292+ RGB24DMD* const DMD::CreateRGB24DMD (uint16_t width, uint16_t height)
293293{
294294 RGB24DMD* const pRGB24DMD = new RGB24DMD (width, height);
295295 AddRGB24DMD (pRGB24DMD);
You can’t perform that action at this time.
0 commit comments