libcamera: log: Fix coding style warnings
The checkstyle utility highlights some minor warnings against the logger
implementation.
Fix these up.
Fixes: edbd2059d8
("libcamera: Add initial logger")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
5651334119
commit
d67841a990
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue