diff options
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/010vm b/cpp/010vm index 870df1e4..049630d3 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -201,10 +201,3 @@ void dump_memory() { cout << p->first << ": " << p->second << '\n'; } } - -int to_int(string n) { - char* end = NULL; - int result = strtol(n.c_str(), &end, /*any base*/0); - assert(*end == '\0'); - return result; -} |