Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion libplayercore/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ MessageQueue::Push(Message & msg)
hdr->type == PLAYER_MSGTYPE_CMD) && this->Length >= this->Maxlen)
{
// record the fact that we are dropping a message
this->drop_count++;
this->drop_count = 1;
this->Unlock();
return(true);
}
Expand Down
4 changes: 2 additions & 2 deletions server/drivers/dio/bitlogic/bitlogic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class Bitlogic : public Driver
bool data_valid[MAX_SLOTS];
int ith;
int jth;
uint32_t compute() const throw (const char *);
uint32_t compute() const noexcept(false);
};

Bitlogic::Bitlogic(ConfigFile * cf, int section) : Driver(cf, section, true, PLAYER_MSGQUEUE_DEFAULT_MAXLEN)
Expand Down Expand Up @@ -299,7 +299,7 @@ int Bitlogic::Subscribe(player_devaddr_t addr)
return 0;
}

uint32_t Bitlogic::compute() const throw (const char *)
uint32_t Bitlogic::compute() const noexcept(false)
{
uint32_t b;
int i;
Expand Down