summaryrefslogtreecommitdiff
path: root/src/include/pendingupdates.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/pendingupdates.h')
-rw-r--r--src/include/pendingupdates.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/include/pendingupdates.h b/src/include/pendingupdates.h
index eddf8f9..fcfd548 100644
--- a/src/include/pendingupdates.h
+++ b/src/include/pendingupdates.h
@@ -24,17 +24,17 @@ namespace Binc {
std::vector<unsigned int>::iterator internal;
public:
- unsigned int operator*(void) const;
- void operator++(void);
+ unsigned int operator*() const;
+ void operator++();
bool operator!=(expunged_const_iterator) const;
bool operator==(expunged_const_iterator) const;
- expunged_const_iterator(void);
+ expunged_const_iterator();
expunged_const_iterator(std::vector<unsigned int>::iterator i);
};
- expunged_const_iterator beginExpunged(void);
- expunged_const_iterator endExpunged(void);
+ expunged_const_iterator beginExpunged();
+ expunged_const_iterator endExpunged();
class flagupdates_const_iterator {
private:
@@ -43,22 +43,22 @@ namespace Binc {
std::map<unsigned int, std::vector<std::string>> *sqnrtocflags;
public:
- unsigned int first(void) const;
- unsigned int second(void) const;
- std::vector<std::string> getCustomFlags(void) const;
- unsigned int getUID(void) const;
+ unsigned int first() const;
+ unsigned int second() const;
+ std::vector<std::string> getCustomFlags() const;
+ unsigned int getUID() const;
- void operator++(void);
+ void operator++();
bool operator!=(flagupdates_const_iterator) const;
- flagupdates_const_iterator(void);
+ flagupdates_const_iterator();
flagupdates_const_iterator(std::map<unsigned int, unsigned int>::iterator i,
std::map<unsigned int, std::vector<std::string>> *,
std::map<unsigned int, unsigned int> *);
};
- flagupdates_const_iterator beginFlagUpdates(void);
- flagupdates_const_iterator endFlagUpdates(void);
+ flagupdates_const_iterator beginFlagUpdates();
+ flagupdates_const_iterator endFlagUpdates();
void addExpunged(unsigned int uid);
void addFlagUpdates(unsigned int sqnr,
@@ -67,13 +67,13 @@ namespace Binc {
const std::vector<std::string> &cflags);
void setExists(unsigned int n);
void setRecent(unsigned int n);
- unsigned int getExists(void) const;
- unsigned int getRecent(void) const;
- bool newExists(void) const;
- bool newRecent(void) const;
+ unsigned int getExists() const;
+ unsigned int getRecent() const;
+ bool newExists() const;
+ bool newRecent() const;
- PendingUpdates(void);
- ~PendingUpdates(void);
+ PendingUpdates();
+ ~PendingUpdates();
private:
std::vector<unsigned int> expunges;