Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
layers: remove last remnants of get<T> to read ints from json
[staging/windowmanager.git]
/
src
/
layers.cpp
diff --git
a/src/layers.cpp
b/src/layers.cpp
index
0110f17
..
8f79451
100644
(file)
--- a/
src/layers.cpp
+++ b/
src/layers.cpp
@@
-67,7
+67,7
@@
struct result<struct layer_map> to_layer_map(nlohmann::json const &j) {
auto msi = j.find("main_surface");
if (msi != j.end()) {
- stl.main_surface =
get<int>((*msi)["surface_id"])
;
+ stl.main_surface =
(*msi)["surface_id"]
;
}
// Check lookup