buffet: fixed the style of using 'const' with pointers and references

Using 'const type*' and 'const type&' instead of 'type const*'...

BUG=None
TEST=Code still compiles.

Change-Id: I3de0e32067563d0e6fd91dcc9a4cd2232bb76b1a
Reviewed-on: https://chromium-review.googlesource.com/195434
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/buffet/map_utils.h b/buffet/map_utils.h
index 676c558..c67fa3e 100644
--- a/buffet/map_utils.h
+++ b/buffet/map_utils.h
@@ -12,7 +12,7 @@
 
 // Given an STL map returns a vector containing all keys from the map
 template<typename T>
-std::vector<typename T::key_type> GetMapKeys(T const& map) {
+std::vector<typename T::key_type> GetMapKeys(const T& map) {
   std::vector<typename T::key_type> keys;
   keys.reserve(map.size());
   for (auto&& pair : map)
@@ -22,7 +22,7 @@
 
 // Given an STL map returns a vector containing all values from the map
 template<typename T>
-std::vector<typename T::mapped_type> GetMapValues(T const& map) {
+std::vector<typename T::mapped_type> GetMapValues(const T& map) {
   std::vector<typename T::mapped_type> values;
   values.reserve(map.size());
   for (auto&& pair : map)
@@ -33,7 +33,7 @@
 // Given an STL map returns a vector of key-value pairs from the map
 template<typename T>
 std::vector<std::pair<typename T::key_type,
-                      typename T::mapped_type>> MapToVector(T const& map) {
+                      typename T::mapped_type>> MapToVector(const T& map) {
   std::vector<std::pair<typename T::key_type, typename T::mapped_type>> vector;
   vector.reserve(map.size());
   for (auto&& pair : map)