mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-29 01:33:46 +00:00
Fix warning in release.
This commit is contained in:
parent
7e6d13b496
commit
12147df2b4
1 changed files with 2 additions and 0 deletions
|
@ -30,7 +30,9 @@ namespace mchlib {
|
|||
|
||||
template <typename StrRef, typename Str>
|
||||
std::size_t start_pos (StrRef parSubstr, const Str* parData) {
|
||||
#if !defined(NDEBUG)
|
||||
typedef decltype(parData->data()) char_type;
|
||||
#endif
|
||||
assert(parData);
|
||||
|
||||
if (not parSubstr.empty()) {
|
||||
|
|
Loading…
Reference in a new issue