aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-01-17 14:44:56 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-01-17 14:44:56 +0000
commit7cd595491b4e54895bb7a82e7b0148572f4a392b (patch)
tree41746e749820115ce4e8ccdf046bd6792844f1c1
parentb5570654f83853cea8b57721cf32c04087a2b4c1 (diff)
downloadpaludis-7cd595491b4e54895bb7a82e7b0148572f4a392b.tar.gz
paludis-7cd595491b4e54895bb7a82e7b0148572f4a392b.tar.xz
Fix ruby build error.
-rw-r--r--ruby/package_database.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/package_database.cc b/ruby/package_database.cc
index 1deb8fd..7c3c6e0 100644
--- a/ruby/package_database.cc
+++ b/ruby/package_database.cc
@@ -232,7 +232,7 @@ namespace
* Do we want only installed packages, only installable packages, or any package when querying?
*/
c_package_database_install_state = rb_define_class_under(paludis_module(), "InstallState", rb_cObject);
- for (InstallState l(static_cast<InstallState>(0)), l_end(last_install_state) ; l != l_end ;
+ for (InstallState l(static_cast<InstallState>(0)), l_end(last_is) ; l != l_end ;
l = static_cast<InstallState>(static_cast<int>(l) + 1))
rb_define_const(c_package_database_install_state, value_case_to_RubyCase(stringify(l)).c_str(), INT2FIX(l));
@@ -244,7 +244,7 @@ namespace
* How to order query results.
*/
c_package_database_query_order = rb_define_class_under(paludis_module(), "QueryOrder", rb_cObject);
- for (QueryOrder l(static_cast<QueryOrder>(0)), l_end(last_query_order) ; l != l_end ;
+ for (QueryOrder l(static_cast<QueryOrder>(0)), l_end(last_qo) ; l != l_end ;
l = static_cast<QueryOrder>(static_cast<int>(l) + 1))
rb_define_const(c_package_database_query_order, value_case_to_RubyCase(stringify(l)).c_str(), INT2FIX(l));