diff options
| author | nyamatongwe <devnull@localhost> | 2003-07-31 12:58:39 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2003-07-31 12:58:39 +0000 | 
| commit | b841b896f71331de42e7632aede6e3c41af739f5 (patch) | |
| tree | 125028014464f9550482342f13c0ea2b591c742f /src/PropSet.cxx | |
| parent | bf99497d8adc2c66e349bc414de005896e555624 (diff) | |
| download | scintilla-mirror-b841b896f71331de42e7632aede6e3c41af739f5.tar.gz | |
Made some of PropSet protected so it can be overridden.
Diffstat (limited to 'src/PropSet.cxx')
| -rw-r--r-- | src/PropSet.cxx | 12 | 
1 files changed, 1 insertions, 11 deletions
| diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 8455d854d..021a65727 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -71,16 +71,6 @@ bool EqualCaseInsensitive(const char *a, const char *b) {  	return 0 == CompareCaseInsensitive(a, b);  } -inline unsigned int HashString(const char *s, size_t len) { -	unsigned int ret = 0; -	while (len--) { -		ret <<= 4; -		ret ^= *s; -		s++; -	} -	return ret; -} -  PropSet::PropSet() {  	superPS = 0;  	for (int root = 0; root < hashRoots; root++) @@ -160,7 +150,7 @@ SString PropSet::Get(const char *key) {  	}  } -static bool IncludesVar(const char *value, const char *key) { +bool PropSet::IncludesVar(const char *value, const char *key) {  	const char *var = strstr(value, "$(");  	while (var) {  		if (isprefix(var + 2, key) && (var[2 + strlen(key)] == ')')) { | 
