summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/member_method.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/member_method.cc b/examples/member_method.cc
index 2b4d732..d7c1f6b 100644
--- a/examples/member_method.cc
+++ b/examples/member_method.cc
@@ -16,7 +16,7 @@ public:
protected:
- virtual void on_print(int a);
+ void on_print(int a);
typedef sigc::signal<void, int> type_signal_print;
type_signal_print signal_print;
@@ -36,7 +36,7 @@ Something::Something()
void Something::on_print(int a)
{
- std::cout << "on_print recieved: " << a << std::endl;
+ std::cout << "on_print received: " << a << std::endl;
}
int main()