summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/main.cpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-11-21 13:37:18 -0500
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-11-21 13:37:18 -0500
commit6e81ffa9f5baabe8d4b16fa927ce423fbe26771e (patch)
tree3abbf34ccf1cb05d26f4a83a8dcf3455aebe1c90 /starts/meaning-vm/main.cpp
parent302fc80f638783d17cd3b496284a535044241297 (diff)
downloadstandingwithresilience-6e81ffa9f5baabe8d4b16fa927ce423fbe26771e.tar.gz
standingwithresilience-6e81ffa9f5baabe8d4b16fa927ce423fbe26771e.zip
direct cast concept from string
Diffstat (limited to 'starts/meaning-vm/main.cpp')
-rw-r--r--starts/meaning-vm/main.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}