ipa: software_isp: Add constructor to the IPA context
Let's have a constructor that takes just the non-default argument, without the need to specify the defaults. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
737fb452fc
commit
d2234560f8
@@ -41,7 +41,7 @@ class IPASoftSimple : public ipa::soft::IPASoftInterface, public Module
|
||||
{
|
||||
public:
|
||||
IPASoftSimple()
|
||||
: context_({ {}, {}, { kMaxFrameContexts } })
|
||||
: context_(kMaxFrameContexts)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user