From 9aa2dfc9a366df851d1eea05a58d5e171adcb8fd Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 3 May 2018 07:44:56 +1000 Subject: Simplify PropSetSimple, avoid casts, use nullptr. --- lexlib/PropSetSimple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlib/PropSetSimple.h') 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; -- cgit v1.2.3