aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/PropSetSimple.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-03 07:44:56 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-03 07:44:56 +1000
commit9aa2dfc9a366df851d1eea05a58d5e171adcb8fd (patch)
tree790b0c7cdd5666b85454232f7731202102acaf5f /lexlib/PropSetSimple.h
parent9ffdbac7f017c64ddb7133268b45a8a992389591 (diff)
downloadscintilla-mirror-9aa2dfc9a366df851d1eea05a58d5e171adcb8fd.tar.gz
Simplify PropSetSimple, avoid casts, use nullptr.
Diffstat (limited to 'lexlib/PropSetSimple.h')
-rw-r--r--lexlib/PropSetSimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/PropSetSimple.h b/lexlib/PropSetSimple.h
index 91b170df3..ba4e42446 100644
--- a/lexlib/PropSetSimple.h
+++ b/lexlib/PropSetSimple.h
@@ -16,7 +16,7 @@ class PropSetSimple {
public:
PropSetSimple();
virtual ~PropSetSimple();
- void Set(const char *key, const char *val, int lenKey=-1, int lenVal=-1);
+ void Set(const char *key, const char *val, size_t lenKey, size_t lenVal);
void SetMultiple(const char *);
const char *Get(const char *key) const;
int GetExpanded(const char *key, char *result) const;