diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:44:56 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:44:56 +1000 |
| commit | 9aa2dfc9a366df851d1eea05a58d5e171adcb8fd (patch) | |
| tree | 790b0c7cdd5666b85454232f7731202102acaf5f /lexlib/PropSetSimple.h | |
| parent | 9ffdbac7f017c64ddb7133268b45a8a992389591 (diff) | |
| download | scintilla-mirror-9aa2dfc9a366df851d1eea05a58d5e171adcb8fd.tar.gz | |
Simplify PropSetSimple, avoid casts, use nullptr.
Diffstat (limited to 'lexlib/PropSetSimple.h')
| -rw-r--r-- | lexlib/PropSetSimple.h | 2 |
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; |
