aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/gmock-generated-actions.h
diff options
context:
space:
mode:
authorJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
committerJerry Turcios <jerryturcios08@gmail.com>2018-10-29 21:09:25 -0400
commit3896e3b593c332087564a767b3d8f2e7c8dbbd25 (patch)
tree1bac50c1afdb97db255a4fbef0b33941c8025f12 /googlemock/include/gmock/gmock-generated-actions.h
parentb8a03c80ad59a4735f852ab13725f2d14ead424f (diff)
parentb9347b31c338851879d0105f0fe32d09007f0433 (diff)
downloadgoogletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.gz
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.tar.bz2
googletest-3896e3b593c332087564a767b3d8f2e7c8dbbd25.zip
Merge branch 'master' of https://github.com/google/googletest
Diffstat (limited to 'googlemock/include/gmock/gmock-generated-actions.h')
-rw-r--r--googlemock/include/gmock/gmock-generated-actions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-generated-actions.h b/googlemock/include/gmock/gmock-generated-actions.h
index 0845b221..8966f05c 100644
--- a/googlemock/include/gmock/gmock-generated-actions.h
+++ b/googlemock/include/gmock/gmock-generated-actions.h
@@ -41,6 +41,7 @@
#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_
#define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_
+#include <memory>
#include <utility>
#include "gmock/gmock-actions.h"
@@ -348,7 +349,7 @@ class InvokeCallbackAction {
callback_.get(), args);
}
private:
- const linked_ptr<CallbackType> callback_;
+ const std::shared_ptr<CallbackType> callback_;
};
// An INTERNAL macro for extracting the type of a tuple field. It's