summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Parser.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-12 15:56:21 +0000
committerDavid Robillard <d@drobilla.net>2012-08-12 15:56:21 +0000
commit21b1e2e485d9fa954ca742965d000f3273fcb862 (patch)
tree8f316c5adbf6d387d64ee895b862dae21614524a /src/serialisation/Parser.cpp
parent65a81eec8943dc0504b8b8755f9866ee4993372c (diff)
downloadingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.gz
ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.bz2
ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.zip
Stricter symbol construction and conversion.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4670 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/Parser.cpp')
-rw-r--r--src/serialisation/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index b8d0adbc..8407429f 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -167,7 +167,7 @@ get_port(Ingen::World* world,
LOG(error) << "Port " << subject << " has no symbol" << endl;
return -1;
}
- const Symbol port_sym = s->second.get_string();
+ const Symbol port_sym(s->second.get_string());
const Path port_path = parent.child(port_sym);
record = make_pair(port_path, props);
@@ -330,7 +330,7 @@ parse_patch(Ingen::World* world,
const Glib::ustring base_uri = model.base_uri().to_string();
- Raul::Symbol symbol = "_";
+ Raul::Symbol symbol("_");
if (a_symbol) {
symbol = *a_symbol;
} else {