mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-17 11:45:50 +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>
|
template <typename StrRef, typename Str>
|
||||||
std::size_t start_pos (StrRef parSubstr, const Str* parData) {
|
std::size_t start_pos (StrRef parSubstr, const Str* parData) {
|
||||||
|
#if !defined(NDEBUG)
|
||||||
typedef decltype(parData->data()) char_type;
|
typedef decltype(parData->data()) char_type;
|
||||||
|
#endif
|
||||||
assert(parData);
|
assert(parData);
|
||||||
|
|
||||||
if (not parSubstr.empty()) {
|
if (not parSubstr.empty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue