From efec72f831f7502db78e70ee4c20ed81c5a53638 Mon Sep 17 00:00:00 2001 From: HAYASHI Kentaro Date: Jan 19 2016 16:36:07 +0000 Subject: Add patch file to fix error about cppcutter --- diff --git a/cppcutter-stop-to-use-inline-instance-method-in-dest.patch b/cppcutter-stop-to-use-inline-instance-method-in-dest.patch new file mode 100644 index 0000000..92166e9 --- /dev/null +++ b/cppcutter-stop-to-use-inline-instance-method-in-dest.patch @@ -0,0 +1,38 @@ +From 31a548f0785ec0e83f762904da2e93aef1fcc50d Mon Sep 17 00:00:00 2001 +From: Kouhei Sutou +Date: Sat, 16 Jan 2016 18:35:04 +0900 +Subject: [PATCH] cppcutter: stop to use inline instance method in destructor + +GitHub: fix #23 + +Reported by HAYASHI Kentaro. Thanks!!! + +Signed-off-by: HAYASHI Kentaro +--- + cppcutter/cppcut-message.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cppcutter/cppcut-message.cpp b/cppcutter/cppcut-message.cpp +index 169431c..463f4fa 100644 +--- a/cppcutter/cppcut-message.cpp ++++ b/cppcutter/cppcut-message.cpp +@@ -1,6 +1,6 @@ + /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ + /* +- * Copyright (C) 2009 Kouhei Sutou ++ * Copyright (C) 2009-2016 Kouhei Sutou + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by +@@ -44,7 +44,7 @@ cut::Message::printf(const char *format, ...) + + cut::Message::~Message() + { +- cut_message("%s", this->string()); ++ cut_message("%s", buffer_.str().c_str()); + } + + /* +-- +2.7.0.rc3 +