Appease the compiler by changing static to const for string literals

This commit is contained in:
2024-11-13 08:38:32 +01:00
parent 25401ba68b
commit 74faa1aabf
2 changed files with 14 additions and 15 deletions

View File

@@ -43,7 +43,7 @@ class epicsShareClass sinqController : public asynMotorController {
Convert an asynStatus into a descriptive string. This string can then e.g.
be used to create debugging messages.
*/
char *stringifyAsynStatus(asynStatus status);
const char *stringifyAsynStatus(asynStatus status);
protected:
asynUser *lowLevelPortUser_;