mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 02:15:05 +03:00
libcamera: Remove unneeded semicolons
Comply with the coding style by removing lots of unneeded semicolons. Fix a few other coding style violations on the lines touched by those fixes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
53eab99680
commit
d312d0ba10
18 changed files with 23 additions and 21 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
namespace libcamera {
|
||||
class EventDispatcher;
|
||||
};
|
||||
}
|
||||
|
||||
class EventLoop
|
||||
{
|
||||
|
|
|
@ -490,7 +490,7 @@ void OptionsParser::usage()
|
|||
else
|
||||
argument += " ";
|
||||
argument += std::string("--") + option.name;
|
||||
};
|
||||
}
|
||||
|
||||
if (option.argument != ArgumentNone) {
|
||||
if (option.argument == ArgumentOptional)
|
||||
|
|
|
@ -112,6 +112,6 @@ IPAInterface *ipaCreate()
|
|||
{
|
||||
return new IPAVimc();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -251,6 +251,6 @@ IPAInterface *ipaCreate()
|
|||
{
|
||||
return new IPARkISP1();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -36,7 +36,7 @@ class IPAProxyFactory
|
|||
{
|
||||
public:
|
||||
IPAProxyFactory(const char *name);
|
||||
virtual ~IPAProxyFactory(){};
|
||||
virtual ~IPAProxyFactory() {}
|
||||
|
||||
virtual std::unique_ptr<IPAProxy> create(IPAModule *ipam) = 0;
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ class PipelineHandlerFactory
|
|||
{
|
||||
public:
|
||||
PipelineHandlerFactory(const char *name);
|
||||
virtual ~PipelineHandlerFactory() { };
|
||||
virtual ~PipelineHandlerFactory() {}
|
||||
|
||||
std::shared_ptr<PipelineHandler> create(CameraManager *manager);
|
||||
|
||||
|
|
|
@ -161,4 +161,4 @@ void InvokeMessage::invoke()
|
|||
* \brief The packed method invocation arguments
|
||||
*/
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -223,4 +223,4 @@ void Object::disconnect(SignalBase *signal)
|
|||
}
|
||||
}
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -135,7 +135,7 @@ PipelineHandler::~PipelineHandler()
|
|||
{
|
||||
for (std::shared_ptr<MediaDevice> media : mediaDevices_)
|
||||
media->release();
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* \fn PipelineHandler::match(DeviceEnumerator *enumerator)
|
||||
|
|
|
@ -92,4 +92,4 @@ void IPAProxyLinux::readyRead(IPCUnixSocket *ipc)
|
|||
|
||||
REGISTER_IPA_PROXY(IPAProxyLinux)
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -495,4 +495,4 @@ void Thread::moveObject(Object *object, ThreadData *currentData,
|
|||
moveObject(child, currentData, targetData);
|
||||
}
|
||||
|
||||
}; /* namespace libcamera */
|
||||
} /* namespace libcamera */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue