Skip to content
Snippets Groups Projects
Commit f9f43a3f authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[GL] Create GeoLib::ORIGIN only once.

parent f24f7ea2
No related branches found
No related tags found
No related merge requests found
/**
* \file
*
* \copyright
* Copyright (c) 2012-2015, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "Point.h"
namespace GeoLib
{
const Point ORIGIN(0, 0, 0);
}
...@@ -66,7 +66,7 @@ protected: ...@@ -66,7 +66,7 @@ protected:
void setID(std::size_t id) { _id = id; } void setID(std::size_t id) { _id = id; }
}; };
static const Point ORIGIN(0, 0, 0); extern const Point ORIGIN;
} }
#endif /* POINT_H_ */ #endif /* POINT_H_ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment