Created
July 24, 2014 20:32
-
-
Save mrnoda/37dc42cfee73350b9103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error: redefinition of 'std::vector<unsigned char> resources::texture' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "resources.h" | |
| std::vector<std::uint8_t> resources::texture = | |
| { | |
| 0x89, 0x50 | |
| // etc etc... | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef RESOURCES_H | |
| #define RESOURCES_H | |
| #include <vector> | |
| #include <cstdint> | |
| namespace resources | |
| { | |
| static std::vector<std::uint8_t> texture; | |
| } | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment