1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix uuid/string_generator.hpp

This commit is contained in:
bolero-MURAKAMI 2012-08-10 12:39:03 +09:00
parent e15e8f123e
commit d6a01cd831
10 changed files with 8 additions and 16 deletions

View file

@ -114,8 +114,7 @@ namespace sprout {
return has_dashes
? is_dash(nc.c)
? generate_2_2(nc.next(), open_brace, has_dashes, args...)
//: throw std::domain_error("string_generator: invalid uuid string (dashes not found)") // ???
: generate_2_2(nc, open_brace, has_dashes, args...)
: throw std::domain_error("string_generator: invalid uuid string (dashes not found)")
: generate_2_2(nc, open_brace, has_dashes, args...)
;
}