mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-30 20:12:37 +00:00
Merge pull request #23 from StefanVK/throw_by_value
Throw glob_error value instead of new'ed pointer
This commit is contained in:
@@ -184,7 +184,7 @@ namespace quickbook
|
||||
switch (*pattern_it) {
|
||||
case '*':
|
||||
assert(false);
|
||||
throw new glob_error("Internal error");
|
||||
throw glob_error("Internal error");
|
||||
case '[':
|
||||
if (!match_range(pattern_it, pattern_end, *filename_it))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user