commit | b71beabf0cbc670c1bec9938b68a574dd26fa5fe | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Mar 05 21:13:49 2012 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Mar 05 21:13:49 2012 -0800 |
tree | c5c0b72266ffc679119748f5932857046e68f668 | |
parent | 182fdc2af3223f8a8e716cf2507925506c351be0 [diff] [blame] |
Adding a unit test using boost Unit Test Framework
diff --git a/model/sync-seq-no.h b/model/sync-seq-no.h index fb9e6b8..a6005af 100644 --- a/model/sync-seq-no.h +++ b/model/sync-seq-no.h
@@ -55,7 +55,7 @@ , m_seq (seq) { } - inline Digest + inline const Digest& getDigest () const; /** @@ -124,11 +124,10 @@ m_digest << m_session << m_seq; } -Digest +const Digest& SeqNo::getDigest () const { - Digest digest; - return digest; + return m_digest; }