diff options
author | Eric Wong <e@80x24.org> | 2015-05-28 19:01:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-05-28 19:01:35 +0000 |
commit | c32f1d06e0c82c09f79fa61447e1acb6b900e84e (patch) | |
tree | 3438a2d5e5bdafda3609db7c4ccedd6c80a333ac /lib/mogilefs | |
parent | 5429893629154e39e0db33f5c98e237b29c7bbdc (diff) | |
download | mogilefs-client-c32f1d06e0c82c09f79fa61447e1acb6b900e84e.tar.gz |
This needlessly wastes bytecode and saves around 2K memory on 64-bit platforms.
Diffstat (limited to 'lib/mogilefs')
-rw-r--r-- | lib/mogilefs/util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs/util.rb b/lib/mogilefs/util.rb index 6277497..ad4845d 100644 --- a/lib/mogilefs/util.rb +++ b/lib/mogilefs/util.rb @@ -24,4 +24,4 @@ require 'timeout' # Timeout error class. Subclassing it from Timeout::Error is the only # reason we require the 'timeout' module, otherwise that module is # broken and worthless to us. -class MogileFS::Timeout < Timeout::Error; end +MogileFS::Timeout = Class.new(Timeout::Error) |