ext/pool.cc in swift-0.10.0 vs ext/pool.cc in swift-0.11.0

- old
+ new

@@ -24,10 +24,10 @@ VALUE driver = rb_hash_aref(options, ID2SYM(rb_intern("driver"))); if (NIL_P(db)) rb_raise(eSwiftArgumentError, "Pool#new called without :db"); if (NIL_P(driver)) rb_raise(eSwiftArgumentError, "#new called without :driver"); - user = NIL_P(user) ? CURRENT_USER() : user; + user = NIL_P(user) ? current_user() : user; if (NUM2INT(n) < 1) rb_raise(eSwiftArgumentError, "Pool#new called with invalid pool size."); try { DATA_PTR(self) = new dbi::ConnectionPool( NUM2INT(n),