diff --git a/src/lib/verb-visitor.hpp b/src/lib/verb-visitor.hpp index eeeb35a74..d556080ac 100644 --- a/src/lib/verb-visitor.hpp +++ b/src/lib/verb-visitor.hpp @@ -97,7 +97,7 @@ namespace lib { Verb verb_; Args args_; - Holder (typename Verb::Handler handlerRef, Literal verbID, ARGS... args) + Holder (typename Verb::Handler handlerRef, Literal verbID, ARGS&&... args) : verb_{handlerRef, verbID} , args_{std::forward (args)...} { } diff --git a/tests/library/verb-visitor-dispatch-test.cpp b/tests/library/verb-visitor-dispatch-test.cpp index c1fe99028..bfa493334 100644 --- a/tests/library/verb-visitor-dispatch-test.cpp +++ b/tests/library/verb-visitor-dispatch-test.cpp @@ -194,7 +194,7 @@ namespace test{ render_verbose (TokenSeq& tokens) { VerboseRenderer receiver; - for (Token tok : tokens) + for (Token& tok : tokens) cout << "dispatching " << tok << " -> '" << tok.applyTo(receiver) diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index ef157a971..24d838b2f 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -19790,6 +19790,13 @@ + + + + + + +