summaryrefslogtreecommitdiffstats
path: root/samples/prime_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/prime_tables.h')
-rw-r--r--samples/prime_tables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/prime_tables.h b/samples/prime_tables.h
index 236e84c..8b6cab4 100644
--- a/samples/prime_tables.h
+++ b/samples/prime_tables.h
@@ -115,6 +115,9 @@ class PreCalculatedPrimeTable : public PrimeTable {
const int is_prime_size_;
bool* const is_prime_;
+
+ // Disables compiler wqarning "assignment operator could ot be generated."
+ void operator=(const PreCalculatedPrimeTable& rhs);
};
#endif // GTEST_SAMPLES_PRIME_TABLES_H_