summaryrefslogtreecommitdiff
path: root/src/libcamera/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/log.cpp')
-rw-r--r--src/libcamera/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp
index 1dac4666..1c82dc68 100644
--- a/src/libcamera/log.cpp
+++ b/src/libcamera/log.cpp
@@ -749,7 +749,7 @@ void LogCategory::setSeverity(LogSeverity severity)
*/
const LogCategory &LogCategory::defaultCategory()
{
- static LogCategory category("default");
+ static const LogCategory category("default");
return category;
}