@@ -108,7 +108,7 @@ namespace {
108108 }
109109
110110 template <typename T>
111- bool TryParse (TStringBuf value, T& result, TString& err, void * parseParam) {
111+ bool TryParse (TStringBuf value, T& result, TString& err, const void * parseParam) {
112112 Y_UNUSED (value);
113113 Y_UNUSED (result);
114114 Y_UNUSED (err);
@@ -117,7 +117,7 @@ namespace {
117117 }
118118
119119 template <>
120- bool TryParse (TStringBuf value, NPg::TConvertResult& result, TString& err, void * typeDesc) {
120+ bool TryParse (TStringBuf value, NPg::TConvertResult& result, TString& err, const void * typeDesc) {
121121 TString unescaped;
122122 if (!CheckedUnescape (value, unescaped)) {
123123 err = MakeError<NPg::TConvertResult>();
@@ -233,7 +233,7 @@ namespace {
233233 return Conv (c, v, pool, conv);
234234 }
235235
236- static bool Make (TCell& c, TStringBuf v, TMemoryPool& pool, TString& err, TConverter<T, TStringBuf> conv, void * parseParam) {
236+ static bool Make (TCell& c, TStringBuf v, TMemoryPool& pool, TString& err, TConverter<T, TStringBuf> conv, const void * parseParam) {
237237 T t;
238238 if (!TryParse<T>(v, t, err, parseParam)) {
239239 return false ;
0 commit comments