aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmock-spec-builders.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmock-spec-builders.cc')
-rw-r--r--src/gmock-spec-builders.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gmock-spec-builders.cc b/src/gmock-spec-builders.cc
index 72558658..6cc94ddd 100644
--- a/src/gmock-spec-builders.cc
+++ b/src/gmock-spec-builders.cc
@@ -420,6 +420,14 @@ void Mock::ClearDefaultActionsLocked(void* mock_obj) {
// needed by VerifyAndClearExpectationsLocked().
}
+Expectation::Expectation() {}
+
+Expectation::Expectation(
+ const internal::linked_ptr<internal::ExpectationBase>& expectation_base)
+ : expectation_base_(expectation_base) {}
+
+Expectation::~Expectation() {}
+
// Adds an expectation to a sequence.
void Sequence::AddExpectation(const Expectation& expectation) const {
if (*last_expectation_ != expectation) {