Cleanups
This commit is contained in:
parent
3ae447420e
commit
69a195fc5c
|
@ -35,8 +35,6 @@
|
||||||
#endif
|
#endif
|
||||||
#include "../../verbosity.h"
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
static void get_include_file(
|
static void get_include_file(
|
||||||
const char *line, char *include_file, size_t len)
|
const char *line, char *include_file, size_t len)
|
||||||
{
|
{
|
||||||
|
@ -206,13 +204,13 @@ error:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static string build_stage_source(const struct string_list *lines, const char *stage)
|
static std::string build_stage_source(const struct string_list *lines, const char *stage)
|
||||||
{
|
{
|
||||||
/* Note: since we have to return a std::string anyway,
|
/* Note: since we have to return a std::string anyway,
|
||||||
* there is nothing to be gained from trying to replace
|
* there is nothing to be gained from trying to replace
|
||||||
* this ostringstream with a C-based alternative
|
* this ostringstream with a C-based alternative
|
||||||
* (would require a rewrite of deps/glslang/glslang.cpp) */
|
* (would require a rewrite of deps/glslang/glslang.cpp) */
|
||||||
ostringstream str;
|
std::ostringstream str;
|
||||||
bool active = true;
|
bool active = true;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue