> On Jan. 19, 2017, 3:23 p.m., James Peach wrote: > > src/linux/fs.cpp, line 103 > > <https://reviews.apache.org/r/55714/diff/1/?file=1608947#file1608947line103> > > > > Can you make this `static const`?
Should be fine using hashmap. Adding static const for hashmap would cause overloaded operator error. - Gilbert ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55714/#review162354 ----------------------------------------------------------- On Jan. 19, 2017, 3:33 p.m., Gilbert Song wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55714/ > ----------------------------------------------------------- > > (Updated Jan. 19, 2017, 3:33 p.m.) > > > Review request for mesos, Avinash sridharan, Jie Yu, James Peach, Timothy > Chen, and Jiang Yan Xu. > > > Bugs: MESOS-6958 > https://issues.apache.org/jira/browse/MESOS-6958 > > > Repository: mesos > > > Description > ------- > > A simple uint32_t -> string mapping. > > > Diffs > ----- > > src/linux/fs.hpp da49c9ebfa938d169152ed3b6e4df7378711b013 > src/linux/fs.cpp 913e23317291db164fe6bdf77f3eca146dedec9b > > Diff: https://reviews.apache.org/r/55714/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Gilbert Song > >