Switch to unified view

a/src/utils/smallut.h b/src/utils/smallut.h
...
...
195
{
195
{
196
    if (s.length() && s.length() < len)
196
    if (s.length() && s.length() < len)
197
    s = s.insert(0, len - s.length(), '0');
197
    s = s.insert(0, len - s.length(), '0');
198
}
198
}
199
199
200
// Duplicate map<string,string> while ensuring no shared string data (to pass
201
// to other thread):
202
void map_ss_cp_noshr(const std::map<std::string,std::string> s,
203
                      std::map<std::string,std::string> *d);
204
200
// Code for static initialization of an stl map. Somewhat like Boost.assign. 
205
// Code for static initialization of an stl map. Somewhat like Boost.assign. 
201
// Ref: http://stackoverflow.com/questions/138600/initializing-a-static-stdmapint-int-in-c
206
// Ref: http://stackoverflow.com/questions/138600/initializing-a-static-stdmapint-int-in-c
202
// Example use: map<int, int> m = create_map<int, int> (1,2) (3,4) (5,6) (7,8);
207
// Example use: map<int, int> m = create_map<int, int> (1,2) (3,4) (5,6) (7,8);
203
208
204
template <typename T, typename U>
209
template <typename T, typename U>