commit | 941117a6c3381df295f4492ec0fb83abbc0485b9 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Nov 20 10:09:34 2014 -0800 |
committer | Dan Albert <danalbert@google.com> | Thu Nov 20 10:09:34 2014 -0800 |
tree | b27fc749ea8237b473a41a488b5f0ee4f513a86e | |
parent | 0d6c56f8e4019a721d05bab20357b05ab38efd8b [diff] |
Make headers C++11 compatible. C++11 states that any non-integral static member of a class must be defined as constexpr. Unfortunately, prior to C++11 there is no constexpr. As such, use a compatibility macro to use constexpr only when using C++11 or newer. Bug: 18466763 Change-Id: Id7cd05b7531d93b6d3e80434e1e7029019d11580