Warnings fixes for VS.

This commit is contained in:
Robert Osfield
2009-02-02 20:35:19 +00:00
parent 965b7ddc72
commit 1153ea5feb
20 changed files with 155 additions and 11 deletions

View File

@@ -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;