summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/netlist/nl_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/netlist/nl_util.h')
-rw-r--r--src/emu/netlist/nl_util.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/emu/netlist/nl_util.h b/src/emu/netlist/nl_util.h
index 5016befe098..17c467752a3 100644
--- a/src/emu/netlist/nl_util.h
+++ b/src/emu/netlist/nl_util.h
@@ -13,29 +13,29 @@ class nl_util
{
// this is purely static
private:
- nl_util() {};
+ nl_util() {};
public:
- typedef netlist_list_t<pstring, 10> pstring_list;
-
- static pstring_list split(const pstring &str, const pstring &onstr)
- {
- pstring_list temp;
-
- int p = 0;
- int pn;
-
- pn = str.find(onstr, p);
- while (pn>=0)
- {
- temp.add(str.substr(p, pn - p));
- p = pn + onstr.len();
- pn = str.find(onstr, p);
- }
- if (p<str.len())
- temp.add(str.substr(p));
- return temp;
- }
+ typedef netlist_list_t<pstring, 10> pstring_list;
+
+ static pstring_list split(const pstring &str, const pstring &onstr)
+ {
+ pstring_list temp;
+
+ int p = 0;
+ int pn;
+
+ pn = str.find(onstr, p);
+ while (pn>=0)
+ {
+ temp.add(str.substr(p, pn - p));
+ p = pn + onstr.len();
+ pn = str.find(onstr, p);
+ }
+ if (p<str.len())
+ temp.add(str.substr(p));
+ return temp;
+ }
};
#endif /* NL_UTIL_H_ */