medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2aa6c2532a266b0a38063f249dc5625f62cef5d5
parent 6a39a6847ee9a3f9b3413e830f219fdcb0a37d3b
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Jan 17 23:21:29 +0000

Say no to C++11

Diffstat:
bsp.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsp.cc b/bsp.cc @@ -55,7 +55,7 @@ float point_plane_distance( const glm::vec3 point, const glm::vec3 normal, const } void bsp_init( BSP * bsp, std::string filename ) { - std::ifstream file( filename, std::ifstream::binary ); + std::ifstream file( filename.c_str(), std::ifstream::binary ); assert( file.is_open() );