summaryrefslogtreecommitdiffstats
path: root/java/constants.h
diff options
context:
space:
mode:
authorOrochimarufan <orochimarufan.x3@gmail.com>2013-02-25 22:47:03 +0100
committerOrochimarufan <orochimarufan.x3@gmail.com>2013-03-22 13:56:57 +0100
commitf4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb (patch)
tree595a93410af4ff4e238d27d78b030c595915d4cc /java/constants.h
parentf01bf10dc511268ead551a191a6a3211c006ba44 (diff)
downloadMultiMC-f4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb.tar
MultiMC-f4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb.tar.gz
MultiMC-f4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb.tar.lz
MultiMC-f4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb.tar.xz
MultiMC-f4c9cb8c1d395422b7e4f1c27ac92b6df08a39bb.zip
refactor indendation, fix a bug in MinecraftProcess & fix a bug in
InstanceLauncher
Diffstat (limited to 'java/constants.h')
-rw-r--r--java/constants.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/constants.h b/java/constants.h
index 80697ebe..61aa5687 100644
--- a/java/constants.h
+++ b/java/constants.h
@@ -7,7 +7,7 @@ namespace java
class constant
{
public:
- enum type_t : uint8_t
+ enum type_t : uint8_t
{
j_hole = 0, // HACK: this is a hole in the array, because java is crazy
j_string_data = 1,
@@ -145,7 +145,7 @@ namespace java
uint16_t descriptor_index;
} name_and_type;
};
- };
+ };
/**
* A helper class that represents the custom container used in Java class file for storage of constants
@@ -185,7 +185,7 @@ namespace java
index++;
}
}
- }
+ }
typedef std::vector<java::constant> container_type;
/**
* Access constants based on jar file index numbers (index of the first element is 1)
@@ -208,5 +208,5 @@ namespace java
}
private:
container_type constants;
- };
+ };
}