Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant inheritance in IXmlItemBuilder #1347

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libs/rtemodel/src/RteKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,9 +617,6 @@ unique_ptr<XMLTree> RteKernel::CreateUniqueXmlTree(IXmlItemBuilder* itemBuilder,
unique_ptr<RteItemBuilder> RteKernel::CreateUniqueRteItemBuilder(RteItem* rootParent, PackageState packState, const RteItem& options) const
{
unique_ptr<RteItemBuilder> builder( new RteItemBuilder(rootParent, packState));
if(!options.IsEmpty()) {
builder->SetAttributes(options);
}
return builder;
}

Expand Down
5 changes: 3 additions & 2 deletions libs/xmltree/include/IXmlItemBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define IXmlItemBuilder_H
/******************************************************************************/
/*
* Copyright (c) 2020-2021 Arm Limited. All rights reserved.
* Copyright (c) 2020-2024 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand All @@ -14,7 +14,8 @@
/**
* @brief abstract factory interface class to create XmlItem derived objects
*/
class IXmlItemBuilder : public XmlItem {
class IXmlItemBuilder
{
public:

/**
Expand Down
Loading