diff options
Diffstat (limited to 'gtest/samples/prime_tables.h')
-rw-r--r-- | gtest/samples/prime_tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtest/samples/prime_tables.h b/gtest/samples/prime_tables.h index 236e84c..92ce16a 100644 --- a/gtest/samples/prime_tables.h +++ b/gtest/samples/prime_tables.h @@ -115,6 +115,9 @@ class PreCalculatedPrimeTable : public PrimeTable { const int is_prime_size_; bool* const is_prime_; + + // Disables compiler warning "assignment operator could not be generated." + void operator=(const PreCalculatedPrimeTable& rhs); }; #endif // GTEST_SAMPLES_PRIME_TABLES_H_ |