aboutsummaryrefslogtreecommitdiffstats
path: root/symtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'symtab.h')
-rw-r--r--symtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/symtab.h b/symtab.h
index 1e3ec74..b2e772e 100644
--- a/symtab.h
+++ b/symtab.h
@@ -22,7 +22,7 @@
using namespace std;
-extern vector<string*>* g_symbols;
+extern vector<string>* g_symbols;
class Symtab;
@@ -34,7 +34,7 @@ class Symbol {
}
const string& str() const {
- return *((*g_symbols)[v_]);
+ return (*g_symbols)[v_];
}
const char* c_str() const {