Skip to content

Commit

Permalink
Fix various warnings (#67)
Browse files Browse the repository at this point in the history
* Remove ReadAheadVideoBuffer

* Remove old gluGetString call

* Fix various warnings
  • Loading branch information
dmccabe-snap authored Dec 11, 2020
1 parent 7f16633 commit b300621
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 413 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ set(HEADERS
cvd/morphology.h
cvd/nonmax_suppression.h
cvd/opencv.h
cvd/readaheadvideobuffer.h
cvd/rgb.h
cvd/rgb8.h
cvd/rgba.h
Expand All @@ -144,7 +143,6 @@ set(HEADERS
cvd/yc.h
cvd/video/skipbuffer.h
cvd/internal/builtin_components.h
cvd/internal/concurrency_utilities.h
cvd/internal/convert_pixel_types.h
cvd/internal/gles1_types.h
cvd/internal/gl_types.h
Expand Down
2 changes: 1 addition & 1 deletion cvd/gl_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ inline void glPrintErrors(void)
GLenum code;
while((code = glGetError()) != GL_NO_ERROR)
{
std::cout << "GL:" << code << ":" << gluGetString(code) << std::endl;
std::cout << "GL:" << code << std::endl;
}
}

Expand Down
136 changes: 0 additions & 136 deletions cvd/internal/concurrency_utilities.h

This file was deleted.

1 change: 1 addition & 0 deletions cvd/internal/io/parameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Parameter<Internal::UntypedParameter>
virtual const void* get_data_pointer() const = 0;

public:
virtual ~Parameter() = default;
virtual Parameter* duplicate() const = 0;
};
#endif
Expand Down
191 changes: 0 additions & 191 deletions cvd/readaheadvideobuffer.h

This file was deleted.

Loading

0 comments on commit b300621

Please sign in to comment.