From b10ea0550dadfdc352447115c214e02c6e5663da Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 1 Sep 2015 12:51:23 +0200 Subject: gcc-4.6 build fixes --- frontends/blif/blifparse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/blif/blifparse.cc') diff --git a/frontends/blif/blifparse.cc b/frontends/blif/blifparse.cc index 4bf050741..9f2e08df0 100644 --- a/frontends/blif/blifparse.cc +++ b/frontends/blif/blifparse.cc @@ -133,7 +133,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name) if (v[0] == '"') { std::string str(v+1); if (str.back() == '"') - str.pop_back(); + str.resize(str.size()-1); const_v = Const(str); } else { int n = strlen(v); -- cgit v1.2.3