Skip to content
Open
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
5 changes: 2 additions & 3 deletions common/rdm/PidStoreLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ class PidStoreLoader {
* contents.
* @returns A pointer to a new RootPidStore or NULL if loading failed.
*/
const RootPidStore *LoadFromStream(std::istream *data,
bool validate = true);

const RootPidStore *LoadFromStream(std::istream *data, bool validate = true);
const RootPidStore *LoadManufacturerNames(const std::string &file);
private:
Comment on lines +75 to 76

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why the annotation isn't showing in place, but cpplint is now showing this:
./common/rdm/PidStoreLoader.h:76: "private:" should be preceded by a blank line [whitespace/blank_line] [3]

You need to do this to fix it:

Suggested change
const RootPidStore *LoadManufacturerNames(const std::string &file);
private:
const RootPidStore *LoadManufacturerNames(const std::string &file);
private:

But we'll also want the new function inset, so ultimately this:

Suggested change
const RootPidStore *LoadManufacturerNames(const std::string &file);
private:
const RootPidStore *LoadManufacturerNames(const std::string &file);
private:

typedef std::map<uint16_t, const PidDescriptor*> PidMap;
typedef std::map<uint16_t, PidMap*> ManufacturerMap;
Expand Down
Loading