diff options
Diffstat (limited to 'googlemock/docs/gmock_faq.md')
-rw-r--r-- | googlemock/docs/gmock_faq.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/docs/gmock_faq.md b/googlemock/docs/gmock_faq.md index 214aabf..7f8c647 100644 --- a/googlemock/docs/gmock_faq.md +++ b/googlemock/docs/gmock_faq.md @@ -5,7 +5,7 @@ ### When I call a method on my mock object, the method for the real object is invoked instead. What's the problem? In order for a method to be mocked, it must be *virtual*, unless you use the -[high-perf dependency injection technique](#MockingNonVirtualMethods). +[high-perf dependency injection technique](cook_book.md#MockingNonVirtualMethods). ### Can I mock a variadic function? |