Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compile error #406

Merged
merged 1 commit into from Jun 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/base/convert_to.cpp
Expand Up @@ -11,6 +11,7 @@
#include "base/convert_to.h"
#include "base/sha1.h"
#include <cstdio>
#include <cstdint>
#include <cstdlib>

namespace base {
Expand Down
1 change: 1 addition & 0 deletions src/base/convert_to.h
Expand Up @@ -8,6 +8,7 @@

#include "base/base.h"
#include <string>
#include <cstdint>

namespace base {

Expand Down
1 change: 1 addition & 0 deletions src/base/sha1.h
Expand Up @@ -6,6 +6,7 @@

#pragma once

#include <cstdint>
#include <vector>
#include <string>

Expand Down
3 changes: 3 additions & 0 deletions src/base/sha1_rfc3174.h
Expand Up @@ -20,6 +20,8 @@
extern "C" {
#endif

#include "base/ints.h"

/*
* If you do not have the ISO standard stdint.h header file, then you
* must typdef the following:
Expand Down Expand Up @@ -61,6 +63,7 @@ typedef struct SHA1Context
int Corrupted; /* Is the message digest corrupted? */
} SHA1Context;


/*
* Function Prototypes
*/
Expand Down
1 change: 1 addition & 0 deletions src/doc/file/pal_file.cpp
Expand Up @@ -14,6 +14,7 @@
#include "doc/image.h"
#include "doc/palette.h"

#include <memory>
#include <cctype>
#include <fstream>
#include <iomanip>
Expand Down
5 changes: 4 additions & 1 deletion src/gfx/region.h
Expand Up @@ -49,7 +49,10 @@ namespace gfx {
RegionIterator operator++(int) { RegionIterator o(*this); ++m_ptr; return o; }
bool operator==(const RegionIterator& o) const { return m_ptr == o.m_ptr; }
bool operator!=(const RegionIterator& o) const { return m_ptr != o.m_ptr; }
reference operator*() { m_rect = *m_ptr; return m_rect; }
reference operator*() {
m_rect = *new Rect(m_ptr->x1, m_ptr->y1, m_ptr->x2, m_ptr->y2);
return m_rect;
}
private:
Box* m_ptr;
mutable Rect m_rect;
Expand Down