commit | 58c77b0c363b7f8372ec1c63adb0861c915b9772 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Mar 05 21:52:25 2012 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Mar 05 21:52:25 2012 -0800 |
tree | 06f2df490dfa66a88c32fc4b6f348944454c906d | |
parent | 150f14d0ead73e88884a2faa6aab5e4103d967dc [diff] [blame] |
Making Sync's destructor virtual (to prevent creation of Sync object)
diff --git a/model/sync-leaf.h b/model/sync-leaf.h index c4da60c..c5f4c20 100644 --- a/model/sync-leaf.h +++ b/model/sync-leaf.h
@@ -41,7 +41,7 @@ * @param seq Initial sequence number of the pointer */ Leaf (NameInfoConstPtr info, const SeqNo &seq); - virtual ~Leaf () { } + virtual ~Leaf () = 0; /** * @brief Get name of the leaf