mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
Crash dump in topography_generator_tool.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
0ef61252c6
commit
2529d5bf5d
@@ -1,4 +1,5 @@
|
|||||||
#include "generator.hpp"
|
#include "generator.hpp"
|
||||||
|
#include "generator/utils.hpp"
|
||||||
|
|
||||||
#include "base/assert.hpp"
|
#include "base/assert.hpp"
|
||||||
#include "base/logging.hpp"
|
#include "base/logging.hpp"
|
||||||
@@ -53,7 +54,7 @@ DEFINE_uint64(median_r, 1, "Custom isolines generating mode. Median filter radiu
|
|||||||
|
|
||||||
using namespace topography_generator;
|
using namespace topography_generator;
|
||||||
|
|
||||||
int main(int argc, char ** argv)
|
MAIN_WITH_ERROR_HANDLING([](int argc, char ** argv)
|
||||||
{
|
{
|
||||||
gflags::SetUsageMessage(
|
gflags::SetUsageMessage(
|
||||||
"\n\nThis tool generates isolines and works in the following modes:\n"
|
"\n\nThis tool generates isolines and works in the following modes:\n"
|
||||||
@@ -205,4 +206,4 @@ int main(int argc, char ** argv)
|
|||||||
generator.GenerateIsolines(FLAGS_left, FLAGS_bottom, FLAGS_right, FLAGS_top, params);
|
generator.GenerateIsolines(FLAGS_left, FLAGS_bottom, FLAGS_right, FLAGS_top, params);
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user