aboutsummaryrefslogtreecommitdiff
path: root/Examples/ruby/exceptproxy/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/ruby/exceptproxy/example.h')
-rw-r--r--Examples/ruby/exceptproxy/example.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/ruby/exceptproxy/example.h b/Examples/ruby/exceptproxy/example.h
index 3ee6d765d..7148d4da1 100644
--- a/Examples/ruby/exceptproxy/example.h
+++ b/Examples/ruby/exceptproxy/example.h
@@ -31,7 +31,7 @@ template<typename T> class Queue {
last = (last + 1) % maxsize;
nitems++;
}
- T dequeue() {
+ T dequeue() {
T x;
if (nitems == 0) throw EmptyError();
x = items[(last + maxsize - nitems) % maxsize];