mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
let turtle reputation classes initialise their integers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
dc65d365d8
commit
728d5d6704
@ -44,10 +44,10 @@ class ReputationConfig
|
||||
{
|
||||
public:
|
||||
ReputationConfig()
|
||||
:mPeerId(), mLatestUpdate(0) { return; }
|
||||
:mPeerId(), mLatestUpdate(0), mLastQuery(0) { return; }
|
||||
|
||||
ReputationConfig(const RsPeerId& peerId)
|
||||
:mPeerId(peerId), mLatestUpdate(0) { return; }
|
||||
:mPeerId(peerId), mLatestUpdate(0), mLastQuery(0) { return; }
|
||||
|
||||
RsPeerId mPeerId;
|
||||
time_t mLatestUpdate;
|
||||
@ -58,10 +58,10 @@ class Reputation
|
||||
{
|
||||
public:
|
||||
Reputation()
|
||||
:mOwnOpinion(0) { return; }
|
||||
:mOwnOpinion(0), mOwnOpinionTs(0), mReputation(0) { return; }
|
||||
|
||||
Reputation(const RsGxsId& about)
|
||||
:mGxsId(about), mOwnOpinion(0) { return; }
|
||||
:mGxsId(about), mOwnOpinion(0), mOwnOpinionTs(0), mReputation(0) { return; }
|
||||
|
||||
int32_t CalculateReputation();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user