Skip to content

Commit

Permalink
Fix clang format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
facug91 committed Mar 13, 2024
1 parent e0d93bb commit 3518e8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions include/hwinfo/utils/pci.ids.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This file has a copy of the content of script/pci.ids, which is returned by a function as a string.
* In case that file is updated, this file should be updated as well.
*/
* This file has a copy of the content of script/pci.ids, which is returned by a function as a string.
* In case that file is updated, this file should be updated as well.
*/

#pragma once

Expand Down Expand Up @@ -36416,6 +36416,6 @@ C 40 Coprocessor
C ff Unassigned class)";
}

}
} // namespace hwinfo

#endif // HWINFO_UNIX
#endif // HWINFO_UNIX
3 changes: 1 addition & 2 deletions src/PCIMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#ifdef HWINFO_UNIX

#include <hwinfo/utils/stringutils.h>
#include <hwinfo/utils/pci.ids.h>
#include <hwinfo/utils/stringutils.h>

#include <sstream>
#include <stdexcept>
Expand All @@ -37,7 +37,6 @@ const PCIDevice& PCIVendor::operator[](const std::string& device_id) const {

// _____________________________________________________________________________________________________________________
PCIMapper::PCIMapper() {

std::stringstream s_pciid(get_pcs_ids());
PCIVendor* current_vendor = nullptr;
PCIDevice* current_device = nullptr;
Expand Down

0 comments on commit 3518e8b

Please sign in to comment.