Warnings fixes for VS.
This commit is contained in:
@@ -189,7 +189,6 @@ class TemporaryWindow: public osg::Referenced
|
||||
{
|
||||
public:
|
||||
TemporaryWindow();
|
||||
TemporaryWindow(const TemporaryWindow &);
|
||||
|
||||
HWND getHandle() const { return _handle; }
|
||||
HDC getDC() const { return _dc; }
|
||||
@@ -199,6 +198,7 @@ public:
|
||||
|
||||
protected:
|
||||
~TemporaryWindow();
|
||||
TemporaryWindow(const TemporaryWindow &) {}
|
||||
TemporaryWindow &operator=(const TemporaryWindow &) { return *this; }
|
||||
|
||||
void create();
|
||||
@@ -221,11 +221,6 @@ TemporaryWindow::TemporaryWindow()
|
||||
create();
|
||||
}
|
||||
|
||||
TemporaryWindow::TemporaryWindow(const TemporaryWindow &)
|
||||
{
|
||||
throw "This is TemporaryWindow, please don't copy me!";
|
||||
}
|
||||
|
||||
void TemporaryWindow::create()
|
||||
{
|
||||
std::ostringstream oss;
|
||||
|
||||
Reference in New Issue
Block a user