Skip to content

Commit

Permalink
Be consistent in public/private placement.
Browse files Browse the repository at this point in the history
  • Loading branch information
horacekj committed Nov 21, 2018
1 parent 4996cbb commit b890958
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/wsm
Submodule wsm updated 2 files
+2 −2 q-str-exception.h
+2 −2 wsm.h
2 changes: 1 addition & 1 deletion lib/xn
Submodule xn updated 3 files
+2 −2 q-str-exception.h
+2 −2 xn-typedefs.h
+2 −2 xn.h
8 changes: 4 additions & 4 deletions src/speed-map.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ constexpr unsigned EMPTY_VALUE = 0;
class StepsToSpeedMap : public QObject {
Q_OBJECT

private:
unsigned m_max_speed = SPEED_MAX;
std::array<unsigned, STEPS_CNT> m_map;

public:
StepsToSpeedMap(QObject *parent = nullptr);
StepsToSpeedMap(const QString& filename, QObject *parent = nullptr);
Expand All @@ -50,6 +46,10 @@ class StepsToSpeedMap : public QObject {
unsigned const* at(const int index) const;
unsigned const* operator[] (const int index) const;

private:
unsigned m_max_speed = SPEED_MAX;
std::array<unsigned, STEPS_CNT> m_map;

signals:
void onAddOrUpdate(unsigned step, unsigned speed);
void onClear();
Expand Down

0 comments on commit b890958

Please sign in to comment.