Skip to content

Commit cc776a8

Browse files
Alexander Antonovrdementi
authored andcommitted
Cosmetic changes
1 parent 34c5770 commit cc776a8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/lspci.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ struct bdf {
177177
bdf(uint8_t bus, uint8_t device, uint8_t function) :
178178
domainno(0), busno(bus), devno(device), funcno(function) {}
179179

180-
std::string to_string() const {
180+
std::string to_string() const
181+
{
181182
std::ostringstream oss;
182183
oss << std::hex << std::uppercase << std::setfill('0')
183184
<< std::setw(DOMAIN_WIDTH) << domainno << ":"
@@ -187,11 +188,11 @@ struct bdf {
187188
return oss.str();
188189
}
189190

190-
private:
191-
static const int DOMAIN_WIDTH = 4;
192-
static const int BUS_WIDTH = 2;
193-
static const int DEVICE_WIDTH = 2;
194-
static const int FUNCTION_WIDTH = 1;
191+
private:
192+
static const int DOMAIN_WIDTH = 4;
193+
static const int BUS_WIDTH = 2;
194+
static const int DEVICE_WIDTH = 2;
195+
static const int FUNCTION_WIDTH = 1;
195196
};
196197

197198
struct pci {

0 commit comments

Comments
 (0)