summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/prg/nlwav.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-04-18 22:23:32 +0200
committer couriersud <couriersud@gmx.org>2020-04-18 22:23:32 +0200
commit6d35a38bf299379ff30e9f622e44c2c4b75ab5af (patch)
tree281ea5a258f1315b72de62a2ca2ade2c247c50ea /src/lib/netlist/prg/nlwav.cpp
parent39d7e8063a5b3f70891c363c0b130eba24d2f1c0 (diff)
netlist: clang-tidy, srcclean and pedantic warnings fixed. (nw)
Diffstat (limited to 'src/lib/netlist/prg/nlwav.cpp')
-rw-r--r--src/lib/netlist/prg/nlwav.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/prg/nlwav.cpp b/src/lib/netlist/prg/nlwav.cpp
index de65fc39552..7a5e49c34c0 100644
--- a/src/lib/netlist/prg/nlwav.cpp
+++ b/src/lib/netlist/prg/nlwav.cpp
@@ -404,9 +404,9 @@ public:
while (m_next_time < time && m_n < m_samples)
{
pstring o;
- for (auto e = m_buf.begin(); e != m_buf.end(); e++)
+ for (auto &e : m_buf)
{
- o += pstring(",") + plib::to_string(*e); // FIXME: locale!!
+ o += pstring(",") + plib::to_string(e); // FIXME: locale!!
}
write(o.substr(1) + "\n");
m_n++;