Fixed compile error when building exploder.
This commit is contained in:
parent
5a319584f3
commit
146f128d18
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ void cutter::load_masks(const config& conf)
|
|||
foreach (const config &m, conf.child_range("mask"))
|
||||
{
|
||||
const std::string name = m["name"];
|
||||
const std::string image = get_mask_dir() + "/" + m["image"];
|
||||
const std::string image = get_mask_dir() + "/" + std::string(m["image"]);
|
||||
|
||||
if(verbose_) {
|
||||
std::cerr << "Adding mask " << name << "\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue