Skip to content

Commit fe96b57

Browse files
committed
..
1 parent 4726766 commit fe96b57

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

‎src/StateManager.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ class StateManager<Matrix, Imp>
122122
protected:
123123
Imp * imp;
124124

125-
class Matrix_less
125+
struct Matrix_less
126126
{
127-
public:
128127
bool operator () (const Matrix & m1, const Matrix & m2) const
129128
{
130129
// Note that we only care about the first 4 elements
@@ -180,9 +179,8 @@ class StateManager<Color, Imp>
180179
protected:
181180
Imp * imp;
182181

183-
class Color_hash
182+
struct Color_hash
184183
{
185-
public:
186184
size_t operator () (const Color & color) const
187185
{
188186
if(color.transparent)

‎src/StringFormatter.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ namespace pdf2htmlEX {
1616
class StringFormatter
1717
{
1818
public:
19-
class GuardedPointer
19+
struct GuardedPointer
2020
{
21-
public:
2221
GuardedPointer(StringFormatter * sf) : sf(sf) { ++(sf->buf_cnt); }
2322
GuardedPointer(const GuardedPointer & gp) : sf(gp.sf) { ++(sf->buf_cnt); }
2423
~GuardedPointer(void) { --(sf->buf_cnt); }

‎src/TmpFiles.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ class TmpFiles
1818
private:
1919
void clean();
2020

21-
private:
2221
const Param& param;
2322
std::set<std::string> tmp_files;
24-
2523
};
2624

2725
} // namespace pdf2htmlEX

0 commit comments

Comments
 (0)