X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/22a67f92aba3f9c1f24b91f19ef7ed0361fb010b..efa6c9315719fc0b98483abdc26341d061b4a4b4:/widget.cpp/software/bife/bife++.git/blobdiff_plain/22a67f92aba3f9c1f24b91f19ef7ed0361fb010b..efa6c9315719fc0b98483abdc26341d061b4a4b4:/widget.cpp diff --git a/widget.cpp b/widget.cpp index 67853b5..cd95d5f 100644 --- a/widget.cpp +++ b/widget.cpp @@ -4,6 +4,7 @@ #include using std::stringstream; +using namespace bife; #ifdef DEBUG #include @@ -17,7 +18,7 @@ Widget::Widget(void) { #endif } -Widget::Widget(Hash attrs): attrs(attrs) { +Widget::Widget(const Hash& attrs): attrs(attrs) { #ifdef DEBUG cerr << "In Widget::Widget(attrs = {" /* TODO << attrs */ << "});" << endl; #endif