From 6e81ffa9f5baabe8d4b16fa927ce423fbe26771e Mon Sep 17 00:00:00 2001 From: olpc user Date: Thu, 21 Nov 2019 13:37:18 -0500 Subject: direct cast concept from string --- starts/meaning-vm/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starts/meaning-vm/main.cpp') diff --git a/starts/meaning-vm/main.cpp b/starts/meaning-vm/main.cpp index 8fb4c64..7381da2 100644 --- a/starts/meaning-vm/main.cpp +++ b/starts/meaning-vm/main.cpp @@ -7,6 +7,6 @@ using namespace std; int main() { - cid concept = "concept"_c; - cout << str(concept) << endl; + ref concept = "concept"; + cout << string(concept) << endl; } -- cgit v1.2.3