From cdb7311dd6ddffb679547cd7cf6d2ed80583eb22 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 12 Aug 2016 04:13:52 +0100 Subject: [PATCH] update --- main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cc b/main.cc index 2ea3bec..eac6240 100644 --- a/main.cc +++ b/main.cc @@ -397,19 +397,19 @@ struct ObState: CsState { } } if ((!ret && (act || ob_check_exec(tname, subdeps))) && func) { - StackedValue targetv(*this), sourcev(*this), sourcesv(*this); + StackedValue targetv, sourcev, sourcesv; - if (!targetv.set_id("target")) { + if (!targetv.set_id(new_ident("target"))) { return 1; } targetv.set_cstr(tname); targetv.push(); if (!subdeps.empty()) { - if (!sourcev.set_id("source")) { + if (!sourcev.set_id(new_ident("source"))) { return 1; } - if (!sourcesv.set_id("sources")) { + if (!sourcesv.set_id(new_ident("sources"))) { return 1; }