aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-30 04:34:54 +0000
committerlloyd <[email protected]>2008-06-30 04:34:54 +0000
commit32937ed3ab5cb51ad175d602d466cbb9dfe917ad (patch)
treec15176e5584044a9f77ba7e04d64eb542ed25b5d /src/libstate.cpp
parent517ba1ba8f7659f8d35ee2912709fb54d4ec6b2e (diff)
Remove the free-standing function deref_alias. It only served as a forwarder
for the implementation in Library_State. Instead explicitly call deref_alias on global_state() wherever the old freestanding version was used. This serves to make (more) uses of the global state explicit rather than implicit.
Diffstat (limited to 'src/libstate.cpp')
-rw-r--r--src/libstate.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstate.cpp b/src/libstate.cpp
index f96a53d19..9fb2b186a 100644
--- a/src/libstate.cpp
+++ b/src/libstate.cpp
@@ -25,14 +25,6 @@ Library_State* global_lib_state = 0;
}
/*************************************************
-* Dereference an alias *
-*************************************************/
-std::string deref_alias(const std::string& name)
- {
- return global_state().deref_alias(name);
- }
-
-/*************************************************
* Access the global state object *
*************************************************/
Library_State& global_state()