diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-29 19:45:33 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-29 19:45:33 (GMT) |
commit | 1d6df4be08e71c8a9d600799cc17bfd7d62838fc (patch) | |
tree | 9724b22e0f9f6246598921fb5ce4585199d4fde4 /samples/prime_tables.h | |
parent | 4d004650c9aa48fcad827d0096b773e3b59727ef (diff) | |
download | googletest-1d6df4be08e71c8a9d600799cc17bfd7d62838fc.zip googletest-1d6df4be08e71c8a9d600799cc17bfd7d62838fc.tar.gz googletest-1d6df4be08e71c8a9d600799cc17bfd7d62838fc.tar.bz2 |
Adds an experimental CMake build script; makes the samples compile without warnings on Windows.
Diffstat (limited to 'samples/prime_tables.h')
-rw-r--r-- | samples/prime_tables.h | 3 |
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_ |