viz: eliminate warnings from tutorial code

pull/7536/head
Alexander Alekhin 8 years ago
parent f129950dec
commit c31f89f0de
  1. 2
      samples/cpp/tutorial_code/viz/creating_widgets.cpp
  2. 2
      samples/cpp/tutorial_code/viz/launching_viz.cpp
  3. 4
      samples/cpp/tutorial_code/viz/transformations.cpp
  4. 2
      samples/cpp/tutorial_code/viz/widget_pose.cpp

@ -32,7 +32,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
void help()
static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl

@ -14,7 +14,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
void help()
static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl

@ -15,7 +15,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
void help()
static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl
@ -31,7 +31,7 @@ void help()
* @function cvcloud_load
* @brief load bunny.ply
*/
Mat cvcloud_load()
static Mat cvcloud_load()
{
Mat cloud(1, 1889, CV_32FC3);
ifstream ifs("bunny.ply");

@ -15,7 +15,7 @@ using namespace std;
* @function help
* @brief Display instructions to use this tutorial program
*/
void help()
static void help()
{
cout
<< "--------------------------------------------------------------------------" << endl

Loading…
Cancel
Save