summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/include/log.h6
-rw-r--r--src/libcamera/log.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcamera/include/log.h b/src/libcamera/include/log.h
index c1af3741..cc3f9404 100644
--- a/src/libcamera/include/log.h
+++ b/src/libcamera/include/log.h
@@ -23,11 +23,11 @@ class LogMessage
{
public:
LogMessage(const char *fileName, unsigned int line,
- LogSeverity severity);
- LogMessage(const LogMessage&) = delete;
+ LogSeverity severity);
+ LogMessage(const LogMessage &) = delete;
~LogMessage();
- std::ostream& stream() { return msgStream; }
+ std::ostream &stream() { return msgStream; }
private:
std::ostringstream msgStream;
diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp
index 9b2ae1ba..74cba383 100644
--- a/src/libcamera/log.cpp
+++ b/src/libcamera/log.cpp
@@ -66,7 +66,7 @@ namespace libcamera {
static const char *log_severity_name(LogSeverity severity)
{
- static const char * const names[] = {
+ static const char *const names[] = {
" DBG",
" INFO",
" WARN",