|
a/src/utils/smallut.cpp |
|
b/src/utils/smallut.cpp |
|
... |
|
... |
39 |
|
39 |
|
40 |
#include "smallut.h"
|
40 |
#include "smallut.h"
|
41 |
#include "utf8iter.h"
|
41 |
#include "utf8iter.h"
|
42 |
#include "hldata.h"
|
42 |
#include "hldata.h"
|
43 |
#include "cstr.h"
|
43 |
#include "cstr.h"
|
|
|
44 |
|
|
|
45 |
void map_ss_cp_noshr(const map<string,string> s, map<string,string> *d)
|
|
|
46 |
{
|
|
|
47 |
for (map<string,string>::const_iterator it= s.begin();
|
|
|
48 |
it != s.end(); it++) {
|
|
|
49 |
d->insert(
|
|
|
50 |
pair<string,string>(string(it->first.begin(), it->first.end()),
|
|
|
51 |
string(it->second.begin(), it->second.end())));
|
|
|
52 |
}
|
|
|
53 |
}
|
44 |
|
54 |
|
45 |
int stringicmp(const string & s1, const string& s2)
|
55 |
int stringicmp(const string & s1, const string& s2)
|
46 |
{
|
56 |
{
|
47 |
string::const_iterator it1 = s1.begin();
|
57 |
string::const_iterator it1 = s1.begin();
|
48 |
string::const_iterator it2 = s2.begin();
|
58 |
string::const_iterator it2 = s2.begin();
|