aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-11 01:33:33 +0000
committerlloyd <[email protected]>2008-11-11 01:33:33 +0000
commitf77d5c0499b6d8dd301e66585330a86eb73090a4 (patch)
tree41811d4cd1037e185157497738889c1af9fa7211 /src/libstate/libstate.h
parent37955fb85460069cbef4dbe95222ed80d2b4152b (diff)
After finding myself typing global_state().algorithm_factory() instead
of algo_factory() several times, I decided to rename the functions. algorithm_factory() just forwards to algo_factory as an inline.
Diffstat (limited to 'src/libstate/libstate.h')
-rw-r--r--src/libstate/libstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstate/libstate.h b/src/libstate/libstate.h
index 3ca97a53c..ac500b42f 100644
--- a/src/libstate/libstate.h
+++ b/src/libstate/libstate.h
@@ -28,6 +28,7 @@ class BOTAN_DLL Library_State
void initialize(bool thread_safe);
Algorithm_Factory& algo_factory();
+ Algorithm_Factory& algorithm_factory() { return algo_factory(); }
void add_engine(class Engine*);
@@ -110,7 +111,7 @@ class BOTAN_DLL Library_State
mutable Allocator* cached_default_allocator;
std::vector<Allocator*> allocators;
- Algorithm_Factory* algorithm_factory;
+ Algorithm_Factory* m_algorithm_factory;
};
/*************************************************