Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1807)

Unified Diff: third_party/snappy/linux/snappy-stubs-public.h

Issue 1997503005: ifdef Snappy's version of DISALLOW_COPY_AND_ASSIGN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/snappy/README.chromium ('k') | third_party/snappy/mac/snappy-stubs-public.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/snappy/linux/snappy-stubs-public.h
diff --git a/third_party/snappy/linux/snappy-stubs-public.h b/third_party/snappy/linux/snappy-stubs-public.h
index 109551106938f8bf87a2bc6cbf5c693f735d3824..144bb82123ff9a9d5ed5a8f42952370b5a243278 100644
--- a/third_party/snappy/linux/snappy-stubs-public.h
+++ b/third_party/snappy/linux/snappy-stubs-public.h
@@ -80,9 +80,11 @@ typedef unsigned long long uint64;
typedef std::string string;
+#ifndef DISALLOW_COPY_AND_ASSIGN
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName&); \
void operator=(const TypeName&)
+#endif
#if 0
// Windows does not have an iovec type, yet the concept is universally useful.
« no previous file with comments | « third_party/snappy/README.chromium ('k') | third_party/snappy/mac/snappy-stubs-public.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698