mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Attempt to make work on Windows.
This commit is contained in:
		| @@ -100,9 +100,6 @@ struct _error_collector | |||||||
|  |  | ||||||
|         return_type _results; |         return_type _results; | ||||||
|  |  | ||||||
|         constexpr _sink() {} |  | ||||||
|         constexpr ~_sink() {} |  | ||||||
|  |  | ||||||
|         template <typename Input, typename Reader, typename Tag> |         template <typename Input, typename Reader, typename Tag> | ||||||
|         void operator()(const lexy::error_context<Input>& context, |         void operator()(const lexy::error_context<Input>& context, | ||||||
|             const lexy::error<Reader, Tag>& error) |             const lexy::error<Reader, Tag>& error) | ||||||
|   | |||||||
| @@ -63,7 +63,7 @@ public: | |||||||
|             static const std::regex FILENAME_REGEX( |             static const std::regex FILENAME_REGEX( | ||||||
|                 "C_S([0-9]+)T([0-9]+)\\.[0-9]+"); |                 "C_S([0-9]+)T([0-9]+)\\.[0-9]+"); | ||||||
|  |  | ||||||
|             std::string filename = di.path().filename(); |             std::string filename = di.path().filename().string(); | ||||||
|             std::smatch dmatch; |             std::smatch dmatch; | ||||||
|             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) |             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) | ||||||
|                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[2]), |                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[2]), | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ public: | |||||||
|             static const std::regex FILENAME_REGEX( |             static const std::regex FILENAME_REGEX( | ||||||
|                 "@TR([0-9]+)S([0-9]+)@\\.FLX"); |                 "@TR([0-9]+)S([0-9]+)@\\.FLX"); | ||||||
|  |  | ||||||
|             std::string filename = di.path().filename(); |             std::string filename = di.path().filename().string(); | ||||||
|             std::smatch dmatch; |             std::smatch dmatch; | ||||||
|             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) |             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) | ||||||
|                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[1]), |                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[1]), | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ public: | |||||||
|         { |         { | ||||||
|             static const std::regex FILENAME_REGEX("([0-9]+)\\.([0-9]+)\\.raw"); |             static const std::regex FILENAME_REGEX("([0-9]+)\\.([0-9]+)\\.raw"); | ||||||
|  |  | ||||||
|             std::string filename = di.path().filename(); |             std::string filename = di.path().filename().string(); | ||||||
|             std::smatch dmatch; |             std::smatch dmatch; | ||||||
|             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) |             if (std::regex_match(filename, dmatch, FILENAME_REGEX)) | ||||||
|                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[1]), |                 chs.push_back(CylinderHead{(unsigned)std::stoi(dmatch[1]), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user