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

Reduce Header Nesting #2751

Merged
merged 1 commit into from Nov 24, 2022

Conversation

KarlStraussberger
Copy link
Member

Split large headers and source files

Comment on lines +55 to +63
/*
void CdsContainer::validate() const
{
CdsObject::validate();
/// \todo well.. we have to know if a container is a real directory or just a virtual container in the database
if (!fs::is_directory(this->location, true))
throw_std_runtime_error("validation failed");
}
*/

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
void CdsItem::validate() const
{
CdsObject::validate();
// log_info("mime: [{}] loc [{}]", this->mimeType.c_str(), this->location.c_str());

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
if (!obj->isItem())
return;
auto item = std::static_pointer_cast<CdsItem>(obj);
// item->setDescription(description);

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
@KarlStraussberger KarlStraussberger merged commit 145b9e1 into gerbera:master Nov 24, 2022
@KarlStraussberger KarlStraussberger deleted the header-nesting branch November 24, 2022 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant