projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808e54f
)
Add a dummy FlagSaver class.
author
Michael Lee
<mzlee@fb.com>
Tue, 26 Jul 2016 22:43:00 +0000
(15:43 -0700)
committer
Facebook Github Bot 5
<facebook-github-bot-5-bot@fb.com>
Tue, 26 Jul 2016 22:53:45 +0000
(15:53 -0700)
Summary: Add a declaration to mock out FlagSaver on platforms that don't support gflags.
Reviewed By: ivmaykov, yfeldblum
Differential Revision:
D3620421
fbshipit-source-id:
c1047f34f384f34276b18f53e966a65cdd5c8075
folly/portability/GFlags.h
patch
|
blob
|
history
diff --git
a/folly/portability/GFlags.h
b/folly/portability/GFlags.h
index 9d88a408a2447d72f314cde3fbab0f0b237ee945..634e5b286911f4d54c0267a2fe9476729484b45a 100644
(file)
--- a/
folly/portability/GFlags.h
+++ b/
folly/portability/GFlags.h
@@
-58,6
+58,11
@@
FOLLY_DEFINE_FLAG(unsigned long long, U64, _name, _default)
#define DEFINE_string(_name, _default, _description) \
FOLLY_DEFINE_FLAG(std::string, S, _name, _default)
+
+namespace google {
+class FlagSaver {};
+}
+
#else
#include <gflags/gflags.h>
#endif