From: levill_r <levill_r@4aad255d-cdde-0310-9447-f3009e2ae8c0>
* src/function_loader.cc (dyn::function_loader_t::load): Here.
git-svn-id:
https://svn.lrde.epita.fr/svn/oln/trunk@4649
4aad255d-cdde-0310-9447-f3009e2ae8c0
---
dynamic-use-of-static-c++/ChangeLog | 6 ++++++
dynamic-use-of-static-c++/src/function_loader.cc | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index 4f40700..0d50eca 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-14 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Catch up with the current interface of Ruby's MD5 class.
+
+ * src/function_loader.cc (dyn::function_loader_t::load): Here.
+
2009-09-08 Roland Levillain <roland(a)lrde.epita.fr>
Various fixes in data/Makefile.am.
diff --git a/dynamic-use-of-static-c++/src/function_loader.cc
b/dynamic-use-of-static-c++/src/function_loader.cc
index cdc0296..84306c4 100644
--- a/dynamic-use-of-static-c++/src/function_loader.cc
+++ b/dynamic-use-of-static-c++/src/function_loader.cc
@@ -280,7 +280,7 @@ namespace dyn {
}
std::string prototype = ostr.str();
- ruby << "Digest::MD5.new(%q{" << prototype.c_str() <<
"}).to_s" << ruby::eval;
+ ruby << "MD5.new(%q{" << prototype.c_str() <<
"}).to_s" << ruby::eval;
const char* identifier = STR2CSTR(ruby.last_value());
cache_type::iterator ptr_it = cache.find(identifier);
--
1.6.5