| Index: gin/modules/console.cc
|
| diff --git a/gin/modules/console.cc b/gin/modules/console.cc
|
| index c7b9aeb4f6cfb6a12ba389c10d085270b19ce8e9..d172373f01df2a0a2d194bfbc866e65f17015087 100644
|
| --- a/gin/modules/console.cc
|
| +++ b/gin/modules/console.cc
|
| @@ -19,7 +19,12 @@ namespace gin {
|
|
|
| namespace {
|
|
|
| -void Log(const std::vector<std::string>& messages) {
|
| +void Log(Arguments* args) {
|
| + std::vector<std::string> messages;
|
| + if (!args->GetRemaining(&messages)) {
|
| + args->ThrowError();
|
| + return;
|
| + }
|
| std::cout << JoinString(messages, ' ') << std::endl;
|
| }
|
|
|
|
|